Chromium Code Reviews| 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 |