| Index: device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h b/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| index 251fc2ad003c9c17c466a93daee9ae35fe72fdde..608b515aac6b830102cb423d62d158463d364dc3 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| @@ -27,6 +27,7 @@ namespace bluez {
|
| class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristicServiceProviderImpl
|
| : public BluetoothGattCharacteristicServiceProvider {
|
| public:
|
| + // Use nullptr for |bus| to create for testing.
|
| BluetoothGattCharacteristicServiceProviderImpl(
|
| dbus::Bus* bus,
|
| const dbus::ObjectPath& object_path,
|
| @@ -69,6 +70,16 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristicServiceProviderImpl
|
| void WriteValue(dbus::MethodCall* method_call,
|
| dbus::ExportedObject::ResponseSender response_sender);
|
|
|
| + // Called by BlueZ when a remote central is requesting to start a
|
| + // notification session for this characteristic.
|
| + void StartNotify(dbus::MethodCall* method_call,
|
| + dbus::ExportedObject::ResponseSender response_sender);
|
| +
|
| + // Called by BlueZ when a remote central is requesting to stop any existing
|
| + // notification session for this characteristic.
|
| + void StopNotify(dbus::MethodCall* method_call,
|
| + dbus::ExportedObject::ResponseSender response_sender);
|
| +
|
| // Called by dbus:: when a method is exported.
|
| void OnExported(const std::string& interface_name,
|
| const std::string& method_name,
|
|
|