Chromium Code Reviews| Index: Source/modules/bluetooth/BluetoothGATTService.idl |
| diff --git a/Source/modules/bluetooth/BluetoothGATTService.idl b/Source/modules/bluetooth/BluetoothGATTService.idl |
| index ee3037cefddf9f6e441172a10ec8c618f7fbbba5..439d3457b715f43b3adcfae1606a58d9472e1972 100644 |
| --- a/Source/modules/bluetooth/BluetoothGATTService.idl |
| +++ b/Source/modules/bluetooth/BluetoothGATTService.idl |
| @@ -6,6 +6,7 @@ |
| // Implement BluetoothGATTService interface: https://crbug.com/483342 |
| +typedef DOMString BluetoothCharacteristicUUID; |
|
Jeffrey Yasskin
2015/06/03 00:24:04
Add the same TODO here as you have in GATTRemoteSe
ortuno
2015/06/03 21:57:04
I have another patch where I implemented some of B
Jeffrey Yasskin
2015/06/03 23:22:52
Oh, fun.
|
| typedef DOMString UUID; |
| [ |
| @@ -15,7 +16,7 @@ typedef DOMString UUID; |
| readonly attribute UUID uuid; |
| readonly attribute boolean isPrimary; |
| // readonly attribute BluetoothDevice device; |
| - // Promise<BluetoothGATTCharacteristic> getCharacteristic(BluetoothCharacteristicUUID characteristic); |
| + [CallWith=ScriptState] Promise<BluetoothGATTCharacteristic> getCharacteristic(BluetoothCharacteristicUUID characteristic); |
| // Promise<sequence<BluetoothGATTCharacteristic>> getCharacteristics(optional BluetoothCharacteristicUUID characteristic); |
| // Promise<BluetoothGATTService> getIncludedService(BluetoothServiceUUID service); |
| // Promise<sequence<BluetoothGATTService>> getIncludedServices(optional BluetoothServiceUUID service); |