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

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: 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 16bf5b487e05046a23586f4684ce785ff63e356d..5a5adbafe86b42e2569973ddf4773f6d6e34211a 100644
--- a/Source/modules/bluetooth/BluetoothDevice.h
+++ b/Source/modules/bluetooth/BluetoothDevice.h
@@ -12,6 +12,9 @@
namespace blink {
+class ScriptPromise;
+class ScriptState;
+
scheib 2015/04/21 17:57:29 remove blank line, sort block.
ortuno 2015/04/21 19:54:07 Done.
class ScriptPromiseResolver;
// BluetoothDevice represents a physical bluetooth device in the DOM. See IDL.
@@ -29,6 +32,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 | « no previous file | Source/modules/bluetooth/BluetoothDevice.cpp » ('j') | Source/modules/bluetooth/BluetoothGATTRemoteServer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698