Skip to content

Commit b09d281

Browse files
devtools-ci-autoroll-builderDevtools-frontend LUCI CQ
authored andcommitted
Roll browser-protocol
This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8719550977847411953 [email protected] Bug: none Change-Id: I8e2d761852e038207470ca63ffc1bd199df3bd85 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6383665 Commit-Queue: Jack Franklin <[email protected]> Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Reviewed-by: Jack Franklin <[email protected]>
1 parent 008c047 commit b09d281

File tree

7 files changed

+135
-2
lines changed

7 files changed

+135
-2
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ vars = {
2424
'inspector_protocol_revision': '940abfc668be2591483f7132145593c6a047f3cf',
2525

2626
# Keeping track of the last time we rollerd the browser protocol files.
27-
'chromium_browser_protocol_revision' : 'cd30077dafb4b107c205b960c0d1226ae82c27bf',
27+
'chromium_browser_protocol_revision' : '1c6df84544d9c7e58118c98d53a2a9028d17d416',
2828

2929
'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
3030
'clang_format_revision': '37f6e68a107df43b7d7e044fd36a13cbae3413f2',

front_end/generated/InspectorBackendCommands.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/protocol-mapping.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,11 @@ export namespace ProtocolMapping {
738738
* or a command below.
739739
*/
740740
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
741+
/**
742+
* Event for when a GATT operation of |type| to the peripheral with |address|
743+
* happened.
744+
*/
745+
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
741746
/**
742747
* Fired when breakpoint is resolved to an actual script and location.
743748
* Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
@@ -4729,6 +4734,15 @@ export namespace ProtocolMapping {
47294734
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
47304735
returnType: void;
47314736
};
4737+
/**
4738+
* Simulates the response code from the peripheral with |address| for a
4739+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
4740+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
4741+
*/
4742+
'BluetoothEmulation.simulateGATTOperationResponse': {
4743+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
4744+
returnType: void;
4745+
};
47324746
/**
47334747
* Continues execution until specific location is reached.
47344748
*/

front_end/generated/protocol-proxy-api.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4211,8 +4211,21 @@ declare namespace ProtocolProxyApi {
42114211
*/
42124212
invoke_simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<Protocol.ProtocolResponseWithError>;
42134213

4214+
/**
4215+
* Simulates the response code from the peripheral with |address| for a
4216+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
4217+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
4218+
*/
4219+
invoke_simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<Protocol.ProtocolResponseWithError>;
4220+
42144221
}
42154222
export interface BluetoothEmulationDispatcher {
4223+
/**
4224+
* Event for when a GATT operation of |type| to the peripheral with |address|
4225+
* happened.
4226+
*/
4227+
gattOperationReceived(params: Protocol.BluetoothEmulation.GattOperationReceivedEvent): void;
4228+
42164229
}
42174230

42184231
export interface DebuggerApi {

front_end/generated/protocol.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12047,6 +12047,7 @@ export namespace Page {
1204712047
InterestCohort = 'interest-cohort',
1204812048
JoinAdInterestGroup = 'join-ad-interest-group',
1204912049
KeyboardMap = 'keyboard-map',
12050+
LanguageDetector = 'language-detector',
1205012051
LocalFonts = 'local-fonts',
1205112052
Magnetometer = 'magnetometer',
1205212053
MediaPlaybackWhileNotVisible = 'media-playback-while-not-visible',
@@ -12061,6 +12062,7 @@ export namespace Page {
1206112062
PrivateStateTokenRedemption = 'private-state-token-redemption',
1206212063
PublickeyCredentialsCreate = 'publickey-credentials-create',
1206312064
PublickeyCredentialsGet = 'publickey-credentials-get',
12065+
Rewriter = 'rewriter',
1206412066
RunAdAuction = 'run-ad-auction',
1206512067
ScreenWakeLock = 'screen-wake-lock',
1206612068
Serial = 'serial',
@@ -12071,7 +12073,9 @@ export namespace Page {
1207112073
SpeakerSelection = 'speaker-selection',
1207212074
StorageAccess = 'storage-access',
1207312075
SubApps = 'sub-apps',
12076+
Summarizer = 'summarizer',
1207412077
SyncXhr = 'sync-xhr',
12078+
Translator = 'translator',
1207512079
Unload = 'unload',
1207612080
Usb = 'usb',
1207712081
UsbUnrestricted = 'usb-unrestricted',
@@ -12080,6 +12084,7 @@ export namespace Page {
1208012084
WebPrinting = 'web-printing',
1208112085
WebShare = 'web-share',
1208212086
WindowManagement = 'window-management',
12087+
Writer = 'writer',
1208312088
XrSpatialTracking = 'xr-spatial-tracking',
1208412089
}
1208512090

@@ -18286,6 +18291,14 @@ export namespace BluetoothEmulation {
1828618291
PoweredOn = 'powered-on',
1828718292
}
1828818293

18294+
/**
18295+
* Indicates the various types of GATT event.
18296+
*/
18297+
export const enum GATTOperationType {
18298+
Connection = 'connection',
18299+
Discovery = 'discovery',
18300+
}
18301+
1828918302
/**
1829018303
* Stores the manufacturer data
1829118304
*/
@@ -18360,6 +18373,21 @@ export namespace BluetoothEmulation {
1836018373
export interface SimulateAdvertisementRequest {
1836118374
entry: ScanEntry;
1836218375
}
18376+
18377+
export interface SimulateGATTOperationResponseRequest {
18378+
address: string;
18379+
type: GATTOperationType;
18380+
code: integer;
18381+
}
18382+
18383+
/**
18384+
* Event for when a GATT operation of |type| to the peripheral with |address|
18385+
* happened.
18386+
*/
18387+
export interface GattOperationReceivedEvent {
18388+
address: string;
18389+
type: GATTOperationType;
18390+
}
1836318391
}
1836418392

1836518393
/**

0 commit comments

Comments
 (0)