| 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 5cfb807e5c504e1d977a7ee8df5b621b88a90252..bdd829d20c149f7dd8ee6fdac0c444e22373004f 100644
|
| --- a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
|
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
|
| @@ -79,6 +79,16 @@ interface WebBluetoothService {
|
| // a device disconnects.
|
| SetClient(associated WebBluetoothServiceClient client);
|
|
|
| + // Reads the value for characteristic with
|
| + // |characteristic_instance_id|. If the value is successfully read the
|
| + // callback will be run with WebBluetoothError::SUCCESS and the
|
| + // characteristic's value. If the value is not successfully read the
|
| + // callback with be run with the corresponding error and nullptr for value.
|
| + RemoteCharacteristicReadValue(
|
| + string characteristic_instance_id) => (
|
| + WebBluetoothError error,
|
| + array<uint8>? value);
|
| +
|
| // Writes a value to the characteristic with
|
| // |characteristic_instance_id|. The callback is run with
|
| // WebBluetoothError::SUCCESS if the value was successfully
|
|
|