Chromium Code Reviews| Index: Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| diff --git a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| index 75e865c6b55e779b82d20d167ad7ea653d9ae554..a6ceae25123e6b4151d48e3091ebbf7ad33a3ec5 100644 |
| --- a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| +++ b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
| @@ -8,10 +8,13 @@ |
| #include "bindings/core/v8/ScriptWrappable.h" |
| #include "platform/heap/Heap.h" |
| #include "public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h" |
| +#include "wtf/text/WTFString.h" |
| namespace blink { |
| +class ScriptPromise; |
| class ScriptPromiseResolver; |
| +class ScriptState; |
| // BluetoothGATTRemoteServer provides a way to interact with a connected bluetooth peripheral. |
| // |
| @@ -36,6 +39,7 @@ public: |
| // IDL exposed interface: |
| bool connected() { return m_webGATT.connected; } |
| + ScriptPromise getPrimaryService(ScriptState*, String /* service_uuid */); |
|
scheib
2015/05/29 00:17:32
Use parameter name, not comment.
ortuno
2015/06/01 21:21:34
Done.
|
| private: |
| WebBluetoothGATTRemoteServer m_webGATT; |