| 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..21660329d44778147a769d2eaf542e25bbcf7e69 100644
|
| --- a/content/browser/bluetooth/web_bluetooth_service_impl.h
|
| +++ b/content/browser/bluetooth/web_bluetooth_service_impl.h
|
| @@ -136,6 +136,10 @@ class CONTENT_EXPORT WebBluetoothServiceImpl
|
| void RemoteDescriptorReadValue(
|
| const std::string& characteristic_instance_id,
|
| const RemoteDescriptorReadValueCallback& callback) override;
|
| + void RemoteDescriptorWriteValue(
|
| + const std::string& descriptor_instance_id,
|
| + const std::vector<uint8_t>& value,
|
| + const RemoteDescriptorWriteValueCallback& callback) override;
|
|
|
| void RequestDeviceImpl(
|
| blink::mojom::WebBluetoothRequestDeviceOptionsPtr options,
|
| @@ -206,6 +210,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
|
|
|