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

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

Issue 1060593004: bluetooth: connectGATT and receive WebBluetoothGATTRemoteServer from embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Web Exposed test changed 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.h
diff --git a/Source/modules/bluetooth/BluetoothDevice.h b/Source/modules/bluetooth/BluetoothDevice.h
index e43a55ba5be7b4420e6dd4aafb16d4f1e283de69..11fa8c54c814d405acfbfa62697fc9e37111ed45 100644
--- a/Source/modules/bluetooth/BluetoothDevice.h
+++ b/Source/modules/bluetooth/BluetoothDevice.h
@@ -12,7 +12,9 @@
namespace blink {
+class ScriptPromise;
class ScriptPromiseResolver;
+class ScriptState;
// BluetoothDevice represents a physical bluetooth device in the DOM. See IDL.
//
@@ -29,6 +31,8 @@ public:
static BluetoothDevice* create(const WebBluetoothDevice&);
+ ScriptPromise connectGATT(ScriptState*);
+
// Interface required by CallbackPromiseAdapter:
typedef WebBluetoothDevice WebType;
static BluetoothDevice* take(ScriptPromiseResolver*, WebBluetoothDevice*);
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/bluetooth/BluetoothDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698