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

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

Issue 1603893002: bluetooth: Switch BluetoothGattCharacteristic.value to DataView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetoothValue
Patch Set: Created 4 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/BluetoothGATTCharacteristic.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/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
index b9edeec88fc9c4bcea02bdc5311dd15eb828cb61..b9a5379268927fda47edfb81caf2ec4815951569 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl
@@ -14,12 +14,12 @@
// TODO(ortuno): Add test to make sure service matches the service
// used to call getCharacteristic.
// readonly attribute BluetoothGATTService service;
- readonly attribute UUID uuid;
+ readonly attribute UUID uuid;
readonly attribute BluetoothCharacteristicProperties properties;
- readonly attribute ArrayBuffer? value;
+ readonly attribute DataView? value;
// Promise<BluetoothGATTDescriptor> getDescriptor(BluetoothDescriptorUUID descriptor);
// Promise<sequence<BluetoothGATTDescriptor>> getDescriptors(optional BluetoothDescriptorUUID descriptor);
- [CallWith=ScriptState] Promise<ArrayBuffer> readValue();
+ [CallWith=ScriptState] Promise<DataView> readValue();
[CallWith=ScriptState] Promise<void> writeValue(BufferSource value);
[CallWith=ScriptState] Promise<void> startNotifications();
[CallWith=ScriptState] Promise<void> stopNotifications();
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698