| 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 63a5b147fa8aa7985a722ff64e8153801658d38a..91b88633bb511dece6566f035499d360a0430f73 100644
|
| --- a/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| +++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
|
| @@ -45,6 +45,7 @@ namespace bluez {
|
| class BluetoothBlueZTest;
|
| class BluetoothAdapterProfileBlueZ;
|
| class BluetoothDeviceBlueZ;
|
| +class BluetoothLocalGattCharacteristicBlueZ;
|
| class BluetoothLocalGattServiceBlueZ;
|
| class BluetoothGattApplicationServiceProvider;
|
| class BluetoothPairingBlueZ;
|
| @@ -178,6 +179,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
|
| // Returns if a given service is currently registered.
|
| bool IsGattServiceRegistered(BluetoothLocalGattServiceBlueZ* service);
|
|
|
| + // 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);
|
| +
|
| // Returns the object path of the adapter.
|
| dbus::ObjectPath GetApplicationObjectPath() const;
|
|
|
|
|