| Index: device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
|
| diff --git a/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h b/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
|
| index dec6c7a676acb35bbf2da1cea7926d6e03a6e707..ec5e65eca4da18fb5f5360794f1f45e087b0a859 100644
|
| --- a/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
|
| +++ b/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
|
| @@ -20,7 +20,9 @@ class TestBluetoothLocalGattServiceDelegate
|
| : public BluetoothLocalGattService::Delegate {
|
| public:
|
| TestBluetoothLocalGattServiceDelegate();
|
| + virtual ~TestBluetoothLocalGattServiceDelegate();
|
|
|
| + // BluetoothLocalGattService::Delegate overrides:
|
| void OnCharacteristicReadRequest(
|
| const BluetoothLocalGattService* service,
|
| const BluetoothLocalGattCharacteristic* characteristic,
|
| @@ -46,6 +48,15 @@ class TestBluetoothLocalGattServiceDelegate
|
| int offset,
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) override;
|
| + void OnNotificationsStart(
|
| + const BluetoothLocalGattService* service,
|
| + const BluetoothLocalGattCharacteristic* characteristic) override;
|
| + void OnNotificationsStop(
|
| + const BluetoothLocalGattService* service,
|
| + const BluetoothLocalGattCharacteristic* characteristic) override;
|
| +
|
| + bool NotificationStatusForCharacteristic(
|
| + BluetoothLocalGattCharacteristic* characteristic);
|
|
|
| void set_expected_service(BluetoothLocalGattService* service) {
|
| expected_service_ = service;
|
| @@ -69,6 +80,8 @@ class TestBluetoothLocalGattServiceDelegate
|
| BluetoothLocalGattCharacteristic* expected_characteristic_;
|
| BluetoothLocalGattDescriptor* expected_descriptor_;
|
|
|
| + std::map<std::string, bool> notifications_started_for_characteristic_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TestBluetoothLocalGattServiceDelegate);
|
| };
|
|
|
|
|