Index: device/bluetooth/test/bluetooth_test.h |
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h |
index 5e34d909d8666a6f1408a95cc4cb8ca38fc2de69..5570ca11f1f7ffd0a6b23ea624d27fcfe28b3f39 100644 |
--- a/device/bluetooth/test/bluetooth_test.h |
+++ b/device/bluetooth/test/bluetooth_test.h |
@@ -113,6 +113,9 @@ class BluetoothTestBase : public testing::Test { |
BluetoothDevice* device, |
const std::vector<std::string>& uuids) {} |
+ // Simulates remove of a |service|. |
+ virtual void SimulateGattServiceRemoved(BluetoothGattService* service) {} |
+ |
// Simulates failure to discover services. |
virtual void SimulateGattServicesDiscoveryError(BluetoothDevice* device) {} |
@@ -121,6 +124,11 @@ class BluetoothTestBase : public testing::Test { |
const std::string& uuid, |
int properties) {} |
+ // Simulates remove of a |characteristic| from |service|. |
+ virtual void SimulateGattCharacteristicRemoved( |
+ BluetoothGattService* service, |
+ BluetoothGattCharacteristic* characteristic) {} |
+ |
// Remembers |characteristic|'s platform specific object to be used in a |
// subsequent call to methods such as SimulateGattCharacteristicRead that |
// accept a nullptr value to select this remembered characteristic. This |