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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom

Issue 2654403002: Implement WebBluetooth descriptor.writeValue() (Closed)
Patch Set: #4 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
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
index ed1adc8709d2866a8ee6d0fe22657aa2d9993d2a..43ac52f4eb03240f67985e71cd4592ad660db64d 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
+++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
@@ -250,6 +250,14 @@ interface WebBluetoothService {
string descriptor_instance_id) => (
WebBluetoothResult result,
array<uint8>? value);
+
+ // Writes a value to the descriptor identified by
+ // |descriptor_instance_id|. The callback is run with
+ // WebBluetoothResult::SUCCESS if the value was successfully
+ // written.
+ RemoteDescriptorWriteValue(
+ string descriptor_instance_id,
+ array<uint8> value) => (WebBluetoothResult result);
};
// Classes should implement this interface and pass an associated pointer
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698