| Index: Source/modules/bluetooth/BluetoothGATTService.h
|
| diff --git a/Source/modules/bluetooth/BluetoothGATTService.h b/Source/modules/bluetooth/BluetoothGATTService.h
|
| index add812b6c8adc98f5f2851916296128072e790c6..1fae19ad0df26ae0d78503a9c207922886b4b248 100644
|
| --- a/Source/modules/bluetooth/BluetoothGATTService.h
|
| +++ b/Source/modules/bluetooth/BluetoothGATTService.h
|
| @@ -12,7 +12,9 @@
|
|
|
| namespace blink {
|
|
|
| +class ScriptPromise;
|
| class ScriptPromiseResolver;
|
| +class ScriptState;
|
|
|
| // Represents a GATT Service within a Bluetooth Peripheral, a collection of
|
| // characteristics and relationships to other services that encapsulate the
|
| @@ -40,6 +42,7 @@ public:
|
| // IDL exposed interface:
|
| String uuid() { return m_webService.uuid; }
|
| bool isPrimary() { return m_webService.isPrimary; }
|
| + ScriptPromise getCharacteristic(ScriptState*, String characteristicUUID);
|
|
|
| private:
|
| WebBluetoothGATTService m_webService;
|
|
|