| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
|
| index 1dcdad97f09bfbb68f4c50428628475b6cc37f71..f8efa81524d500bd74e8f9a49793ced43af14f8d 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
|
| @@ -81,6 +81,13 @@ class BluetoothRemoteGATTCharacteristic final
|
| String uuid() { return m_webCharacteristic->uuid; }
|
| BluetoothCharacteristicProperties* properties() { return m_properties; }
|
| DOMDataView* value() const { return m_value; }
|
| + ScriptPromise getDescriptor(ScriptState*,
|
| + const StringOrUnsignedLong& descriptor,
|
| + ExceptionState&);
|
| + ScriptPromise getDescriptors(ScriptState*, ExceptionState&);
|
| + ScriptPromise getDescriptors(ScriptState*,
|
| + const StringOrUnsignedLong& descriptor,
|
| + ExceptionState&);
|
| ScriptPromise readValue(ScriptState*);
|
| ScriptPromise writeValue(ScriptState*, const DOMArrayPiece&);
|
| ScriptPromise startNotifications(ScriptState*);
|
| @@ -100,6 +107,10 @@ class BluetoothRemoteGATTCharacteristic final
|
|
|
| BluetoothRemoteGATTServer* gatt() { return m_service->device()->gatt(); }
|
|
|
| + ScriptPromise getDescriptorsImpl(ScriptState*,
|
| + mojom::blink::WebBluetoothGATTQueryQuantity,
|
| + const String& descriptorUUID = String());
|
| +
|
| std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit> m_webCharacteristic;
|
| Member<BluetoothRemoteGATTService> m_service;
|
| bool m_stopped;
|
|
|