| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h
|
| index 6a2fc29b1857d5198a7e4a714c80e6d60980b003..709131730a81fddebba36b23ba1b37585cd8895d 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h
|
| @@ -47,6 +47,9 @@ class BluetoothRemoteGATTDescriptor final
|
| ScriptPromise readValue(ScriptState*);
|
| ScriptPromise writeValue(ScriptState*, const DOMArrayPiece&);
|
|
|
| + // Save value.
|
| + void setValue(DOMDataView*);
|
| +
|
| // Interface required by garbage collection.
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -55,6 +58,10 @@ class BluetoothRemoteGATTDescriptor final
|
|
|
| BluetoothRemoteGATTServer* getGatt() { return m_characteristic->getGatt(); }
|
|
|
| + void ReadValueCallback(ScriptPromiseResolver*,
|
| + mojom::blink::WebBluetoothResult,
|
| + const Optional<Vector<uint8_t>>&);
|
| +
|
| mojom::blink::WebBluetoothRemoteGATTDescriptorPtr m_descriptor;
|
| Member<BluetoothRemoteGATTCharacteristic> m_characteristic;
|
| Member<DOMDataView> m_value;
|
|
|