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 c8a4c590726844bb6fb92ca659fe42af7a45c7fa..c459f7894659cea15c5e29f10ae54904c8370a60 100644 |
| --- a/content/browser/bluetooth/web_bluetooth_service_impl.h |
| +++ b/content/browser/bluetooth/web_bluetooth_service_impl.h |
| @@ -137,6 +137,11 @@ class CONTENT_EXPORT WebBluetoothServiceImpl |
| const std::string& characteristic_instance_id, |
| const RemoteDescriptorReadValueCallback& callback) override; |
|
ortuno
2017/01/28 00:22:51
nit: no new line.
dougt
2017/01/31 00:31:25
Done.
|
| + void RemoteDescriptorWriteValue( |
| + const std::string& descriptor_instance_id, |
| + const std::vector<uint8_t>& value, |
| + const RemoteDescriptorWriteValueCallback& callback) override; |
| + |
| void RequestDeviceImpl( |
| blink::mojom::WebBluetoothRequestDeviceOptionsPtr options, |
| const RequestDeviceCallback& callback, |
| @@ -206,6 +211,13 @@ class CONTENT_EXPORT WebBluetoothServiceImpl |
| const RemoteDescriptorReadValueCallback& callback, |
| device::BluetoothRemoteGattService::GattErrorCode error_code); |
| + // Callbacks for BluetoothRemoteGattDescriptor::WriteRemoteDescriptor. |
| + void OnDescriptorWriteValueSuccess( |
| + const RemoteDescriptorWriteValueCallback& callback); |
| + void OnDescriptorWriteValueFailed( |
| + const RemoteDescriptorWriteValueCallback& callback, |
| + device::BluetoothRemoteGattService::GattErrorCode error_code); |
| + |
| // Functions to query the platform cache for the bluetooth object. |
| // result.outcome == CacheQueryOutcome::SUCCESS if the object was found in the |
| // cache. Otherwise result.outcome that can used to record the outcome and |