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 bbffee053c1f02dfc3cb76aecf3f5e149c49b83f..e5f7fe6e2449a7a4279733d7dc677c4d87361655 100644 |
--- a/device/bluetooth/test/bluetooth_test_mac.h |
+++ b/device/bluetooth/test/bluetooth_test_mac.h |
@@ -58,6 +58,11 @@ class BluetoothTestMac : public BluetoothTestBase { |
void SimulateGattCharacteristicReadError( |
BluetoothRemoteGattCharacteristic* characteristic, |
BluetoothRemoteGattService::GattErrorCode) override; |
+ void SimulateGattCharacteristicWrite( |
+ BluetoothRemoteGattCharacteristic* characteristic) override; |
+ void SimulateGattCharacteristicWriteError( |
+ BluetoothRemoteGattCharacteristic* characteristic, |
+ BluetoothRemoteGattService::GattErrorCode error_code) override; |
void SimulateGattCharacteristicRemoved( |
BluetoothRemoteGattService* service, |
BluetoothRemoteGattCharacteristic* characteristic) override; |
@@ -69,6 +74,7 @@ class BluetoothTestMac : public BluetoothTestBase { |
// Callback for the bluetooth peripheral mock. |
void OnFakeBluetoothServiceDiscovery(); |
void OnFakeBluetoothCharacteristicReadValue(); |
+ void OnFakeBluetoothCharacteristicWriteValue(std::vector<uint8_t> value); |
protected: |
class ScopedMockCentralManager; |