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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl

Issue 2216623002: bluetooth: {start,stop}Notifications() return the characteristic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/BluetoothRemoteGATTCharacteristic.idl
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl
index a47a50e93afda198b40392d4230d87e73b586846..8ee4fbb88fa78ff58094badff4dfe9f404196d7e 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl
@@ -16,10 +16,10 @@
readonly attribute DataView? value;
// Promise<BluetoothRemoteGATTDescriptor> getDescriptor(BluetoothDescriptorUUID descriptor);
// Promise<sequence<BluetoothRemoteGATTDescriptor>> getDescriptors(optional BluetoothDescriptorUUID descriptor);
- [CallWith=ScriptState] Promise<DataView> readValue();
- [CallWith=ScriptState] Promise<void> writeValue(BufferSource value);
- [CallWith=ScriptState] Promise<void> startNotifications();
- [CallWith=ScriptState] Promise<void> stopNotifications();
+ [CallWith=ScriptState] Promise<DataView> readValue();
ortuno 2016/08/05 01:43:44 nit: Line this up, I think.
François Beaufort 2016/08/05 06:41:15 Done.
+ [CallWith=ScriptState] Promise<void> writeValue(BufferSource value);
+ [CallWith=ScriptState] Promise<BluetoothRemoteGATTCharacteristic> startNotifications();
+ [CallWith=ScriptState] Promise<BluetoothRemoteGATTCharacteristic> stopNotifications();
// TODO(ortuno): Move this to CharacteristicEventHandlers.
// http://crbug.com/537459

Powered by Google App Engine
This is Rietveld 408576698