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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h

Issue 2637343002: Implement WebBluetooth descriptor.readValue() (Closed)
Patch Set: run bad_message_reasons Created 3 years, 11 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: 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..b491c1d9860d87043a1fdb276d5202f47223535a 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.h
@@ -55,6 +55,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;

Powered by Google App Engine
This is Rietveld 408576698