| Index: device/bluetooth/bluetooth_local_gatt_service.h
|
| diff --git a/device/bluetooth/bluetooth_local_gatt_service.h b/device/bluetooth/bluetooth_local_gatt_service.h
|
| index 576ac1e1e2a16e0ab53d50d87067a66c1ea332ce..989810a9b5489a8442819dffc4d05f1227928aaa 100644
|
| --- a/device/bluetooth/bluetooth_local_gatt_service.h
|
| +++ b/device/bluetooth/bluetooth_local_gatt_service.h
|
| @@ -124,6 +124,20 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLocalGattService
|
| int offset,
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) = 0;
|
| +
|
| + // Called when a remote device requests notifications to start for
|
| + // |characteristic|. This is only called if the characteristic has
|
| + // specified the notify or indicate property.
|
| + virtual void OnNotificationsStart(
|
| + const BluetoothLocalGattService* service,
|
| + const BluetoothLocalGattCharacteristic* characteristic) = 0;
|
| +
|
| + // Called when a remote device requests notifications to stop for
|
| + // |characteristic|. This is only called if the characteristic has
|
| + // specified the notify or indicate property.
|
| + virtual void OnNotificationsStop(
|
| + const BluetoothLocalGattService* service,
|
| + const BluetoothLocalGattCharacteristic* characteristic) = 0;
|
| };
|
|
|
| // Creates a local GATT service to be used with |adapter| (which will own
|
|
|