| Index: device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.h b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| index 3b3c5cf00c9f6ad248b7b9336be5a2b2d4404918..49bba2a48f304950e3f5c149bf10ff274c8ed5ce 100644
|
| --- a/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| +++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| @@ -177,9 +177,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
|
|
|
| // Send a notification for this characteristic that its value has been
|
| // updated. If the service that owns that characteristic is not registered,
|
| - // this method will return false.
|
| - bool SendValueChanged(BluetoothLocalGattCharacteristicBlueZ* characteristic,
|
| - const std::vector<uint8_t>& value);
|
| + // this method will return false. Setting |device| to nullptr will send the
|
| + // notification to all connected devices.
|
| + bool SendValueChanged(const device::BluetoothDevice* device,
|
| + BluetoothLocalGattCharacteristicBlueZ* characteristic,
|
| + const std::vector<uint8_t>& value,
|
| + bool indicate);
|
|
|
| // Returns the object path of the adapter.
|
| dbus::ObjectPath GetApplicationObjectPath() const;
|
|
|