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

Unified Diff: Source/modules/bluetooth/BluetoothDevice.idl

Issue 1060593004: bluetooth: connectGATT and receive WebBluetoothGATTRemoteServer from embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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: Source/modules/bluetooth/BluetoothDevice.idl
diff --git a/Source/modules/bluetooth/BluetoothDevice.idl b/Source/modules/bluetooth/BluetoothDevice.idl
index 65634048bb615b5e141c1b08e8475af0cf841c66..163e333237bdd20053336d73204f12485ade2920 100644
--- a/Source/modules/bluetooth/BluetoothDevice.idl
+++ b/Source/modules/bluetooth/BluetoothDevice.idl
@@ -32,7 +32,7 @@ typedef DOMString UUID;
readonly attribute boolean? paired;
readonly attribute boolean? connected;
readonly attribute sequence<UUID>? uuids;
-// Promise<void> connect ();
+ [CallWith=ScriptState] Promise<BluetoothGATTRemoteServer> connectGATT ();
// Promise<void> disconnect ();
// Promise<BluetoothGATTService> getService (BluetoothServiceUuid service);
// Promise<BluetoothGATTServiceSequence> getAllServices ();

Powered by Google App Engine
This is Rietveld 408576698