| Index: content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| index 0e023828ce655efab003d30e6021baa5e929a16e..f448468bb7328ae35f03baa6a71b625789458311 100644
|
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| @@ -77,6 +77,10 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
|
| void OnReadValue(int thread_id,
|
| int request_id,
|
| const std::string& characteristic_instance_id);
|
| + void OnWriteValue(int thread_id,
|
| + int request_id,
|
| + const std::string& characteristic_instance_id,
|
| + const std::vector<uint8_t>& value);
|
|
|
| // Callbacks for BluetoothAdapter::StartDiscoverySession.
|
| void OnDiscoverySessionStarted(
|
| @@ -128,6 +132,12 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
|
| int request_id,
|
| device::BluetoothGattService::GattErrorCode);
|
|
|
| + // Callbacks for BluetoothGattCharacteristic::WriteRemoteCharacteristic.
|
| + void OnWriteValueSuccess(int thread_id, int request_id);
|
| + void OnWriteValueFailed(int thread_id,
|
| + int request_id,
|
| + device::BluetoothGattService::GattErrorCode);
|
| +
|
| // Maps to get the object's parent based on it's instanceID
|
| // Map of service_instance_id to device_instance_id.
|
| std::map<std::string, std::string> service_to_device_;
|
|
|