| Index: content/browser/bluetooth/web_bluetooth_service_impl.h
|
| diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.h b/content/browser/bluetooth/web_bluetooth_service_impl.h
|
| index 78994bd1d60a27868ca6349ca1d5aa99651e1597..c8a8d81afcc9ac70806c4cb6b68417e487174151 100644
|
| --- a/content/browser/bluetooth/web_bluetooth_service_impl.h
|
| +++ b/content/browser/bluetooth/web_bluetooth_service_impl.h
|
| @@ -77,6 +77,9 @@ class WebBluetoothServiceImpl : public blink::mojom::WebBluetoothService,
|
| blink::mojom::WebBluetoothServiceClientAssociatedPtrInfo client) override;
|
|
|
| // WebBluetoothService methods:
|
| + void RemoteCharacteristicReadValue(
|
| + const mojo::String& characteristic_instance_id,
|
| + const RemoteCharacteristicReadValueCallback& callback) override;
|
| void RemoteCharacteristicWriteValue(
|
| const mojo::String& characteristic_instance_id,
|
| mojo::Array<uint8_t> value,
|
| @@ -88,6 +91,13 @@ class WebBluetoothServiceImpl : public blink::mojom::WebBluetoothService,
|
| const mojo::String& characteristic_instance_id,
|
| const RemoteCharacteristicStopNotificationsCallback& callback) override;
|
|
|
| + // Callbacks for BluetoothGattCharacteristic::ReadRemoteCharacteristic.
|
| + void OnReadValueSuccess(const RemoteCharacteristicReadValueCallback& callback,
|
| + const std::vector<uint8_t>& value);
|
| + void OnReadValueFailed(
|
| + const RemoteCharacteristicReadValueCallback& callback,
|
| + device::BluetoothGattService::GattErrorCode error_code);
|
| +
|
| // Callbacks for BluetoothGattCharacteristic::WriteRemoteCharacteristic.
|
| void OnWriteValueSuccess(
|
| const RemoteCharacteristicWriteValueCallback& callback);
|
|
|