Index: device/bluetooth/test/bluetooth_test_mac.h |
diff --git a/device/bluetooth/test/bluetooth_test_mac.h b/device/bluetooth/test/bluetooth_test_mac.h |
index e5f7fe6e2449a7a4279733d7dc677c4d87361655..455fd8f26c81be475383a2e329fba5e67cde2a4a 100644 |
--- a/device/bluetooth/test/bluetooth_test_mac.h |
+++ b/device/bluetooth/test/bluetooth_test_mac.h |
@@ -63,6 +63,14 @@ class BluetoothTestMac : public BluetoothTestBase { |
void SimulateGattCharacteristicWriteError( |
BluetoothRemoteGattCharacteristic* characteristic, |
BluetoothRemoteGattService::GattErrorCode error_code) override; |
+ void SimulateGattNotifySessionStarted( |
+ BluetoothRemoteGattCharacteristic* characteristic) override; |
+ void SimulateGattNotifySessionStartError( |
+ BluetoothRemoteGattCharacteristic* characteristic, |
+ BluetoothRemoteGattService::GattErrorCode error_code) override; |
+ void SimulateGattCharacteristicChanged( |
+ BluetoothRemoteGattCharacteristic* characteristic, |
+ const std::vector<uint8_t>& value) override; |
void SimulateGattCharacteristicRemoved( |
BluetoothRemoteGattService* service, |
BluetoothRemoteGattCharacteristic* characteristic) override; |
@@ -75,6 +83,7 @@ class BluetoothTestMac : public BluetoothTestBase { |
void OnFakeBluetoothServiceDiscovery(); |
void OnFakeBluetoothCharacteristicReadValue(); |
void OnFakeBluetoothCharacteristicWriteValue(std::vector<uint8_t> value); |
+ void OnFakeBluetoothGattSetCharacteristicNotification(); |
protected: |
class ScopedMockCentralManager; |