Chromium Code Reviews| 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..e86821da00371755ccb0e7bac2aaa7c91e625e4f 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,12 @@ 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. |
|
Jeffrey Yasskin
2016/04/15 20:59:35
Add a blank line between groups of callbacks.
ortuno
2016/04/15 21:34:07
Done.
|
| void OnWriteValueSuccess( |
| const RemoteCharacteristicWriteValueCallback& callback); |