Index: device/bluetooth/test/bluetooth_test_mac.mm |
diff --git a/device/bluetooth/test/bluetooth_test_mac.mm b/device/bluetooth/test/bluetooth_test_mac.mm |
index 41b5748f1050c3bbc12e3a893f0c0867a43b604a..30b33d330955319a2b72c39b2f556acdbfe00b9f 100644 |
--- a/device/bluetooth/test/bluetooth_test_mac.mm |
+++ b/device/bluetooth/test/bluetooth_test_mac.mm |
@@ -467,6 +467,7 @@ void BluetoothTestMac::SimulateGattCharacteristicRemoved( |
MockCBCharacteristic* characteristic_mock = |
ObjCCast<MockCBCharacteristic>(cb_characteristic); |
[service_mock removeCharacteristicMock:characteristic_mock]; |
+ [peripheral_mock didModifyServices:@[]]; |
[peripheral_mock mockDidDiscoverEvents]; |
} |
@@ -499,6 +500,10 @@ void BluetoothTestMac::OnFakeBluetoothServiceDiscovery() { |
gatt_discovery_attempts_++; |
} |
+void BluetoothTestMac::OnFakeBluetoothCharacteristicDiscovery() { |
+ gatt_characteristic_discovery_attempts_++; |
+} |
+ |
void BluetoothTest::OnFakeBluetoothCharacteristicReadValue() { |
gatt_read_characteristic_attempts_++; |
} |