Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl

Issue 2771893002: Move Bluetooth.Web.FunctionCall.Count UMA from browser to WebKit (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl
index 14999610882370ec8f866d2dbf483c262f2b3ad4..0c70ae42abd526f91717e2102a1715a078107b8e 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl
@@ -12,8 +12,8 @@
{
[SameObject] readonly attribute BluetoothDevice device;
readonly attribute boolean connected;
- [CallWith=ScriptState] Promise<BluetoothRemoteGATTServer> connect();
- [CallWith=ScriptState] void disconnect();
- [CallWith=ScriptState, RaisesException] Promise<BluetoothRemoteGATTService> getPrimaryService (BluetoothServiceUUID service);
- [CallWith=ScriptState, RaisesException] Promise<sequence<BluetoothRemoteGATTService>> getPrimaryServices (optional BluetoothServiceUUID service);
+ [CallWith=ScriptState, MeasureAs=WebBluetoothServerConnect] Promise<BluetoothRemoteGATTServer> connect();
+ [CallWith=ScriptState, MeasureAs=WebBluetoothServerDisconnect] void disconnect();
+ [CallWith=ScriptState, RaisesException, MeasureAs=WebBluetoothServerGetPrimaryService] Promise<BluetoothRemoteGATTService> getPrimaryService (BluetoothServiceUUID service);
+ [CallWith=ScriptState, RaisesException, MeasureAs=WebBluetoothServerGetPrimaryServices] Promise<sequence<BluetoothRemoteGATTService>> getPrimaryServices (optional BluetoothServiceUUID service);
};

Powered by Google App Engine
This is Rietveld 408576698