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 337085600e5af90567bee0c1fcafb445e2419a9d..daa0d4671b58e7b836e9c1691e260007b9e92f00 100644 |
--- a/device/bluetooth/test/bluetooth_test_mac.h |
+++ b/device/bluetooth/test/bluetooth_test_mac.h |
@@ -39,6 +39,7 @@ class BluetoothTestMac : public BluetoothTestBase { |
void InitWithDefaultAdapter() override; |
void InitWithoutDefaultAdapter() override; |
void InitWithFakeAdapter() override; |
+ void ResetEventCounts() override; |
BluetoothDevice* SimulateLowEnergyDevice(int device_ordinal) override; |
void SimulateConnectedLowEnergyDevice( |
ConnectedDeviceType device_ordinal) override; |
@@ -84,6 +85,8 @@ class BluetoothTestMac : public BluetoothTestBase { |
void SimulateGattCharacteristicRemoved( |
BluetoothRemoteGattService* service, |
BluetoothRemoteGattCharacteristic* characteristic) override; |
+ void ExpectedChangeNotifyValueAttempts(int attempts) override; |
+ void ExpectedNotifyValue(NotifyValueState expected_value_state) override; |
// Callback for the bluetooth central manager mock. |
void OnFakeBluetoothDeviceConnectGattCalled(); |
@@ -120,7 +123,7 @@ class BluetoothTestMac : public BluetoothTestBase { |
std::unique_ptr<ScopedMockCentralManager> mock_central_manager_; |
// Value set by -[CBPeripheral setNotifyValue:forCharacteristic:] call. |
- bool last_notify_value = false; |
+ bool last_notify_value_ = false; |
}; |
// Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). |