Index: device/bluetooth/test/mock_bluetooth_gatt_connection.cc |
diff --git a/device/bluetooth/test/mock_bluetooth_gatt_connection.cc b/device/bluetooth/test/mock_bluetooth_gatt_connection.cc |
index 3d8a1f755bcdfe5707ead350da237242dd6c9143..150a58cba903d74d27bd5aeb27684c470c86d9be 100644 |
--- a/device/bluetooth/test/mock_bluetooth_gatt_connection.cc |
+++ b/device/bluetooth/test/mock_bluetooth_gatt_connection.cc |
@@ -12,10 +12,12 @@ namespace device { |
MockBluetoothGattConnection::MockBluetoothGattConnection( |
scoped_refptr<device::BluetoothAdapter> adapter, |
- const std::string& device_address) |
- : BluetoothGattConnection(adapter, device_address) { |
+ const std::string& device_address, |
+ bool in_progress) |
+ : BluetoothGattConnection(adapter, device_address, in_progress) { |
ON_CALL(*this, GetDeviceAddress()).WillByDefault(Return(device_address)); |
ON_CALL(*this, IsConnected()).WillByDefault(Return(true)); |
+ ON_CALL(*this, InProgress()).WillByDefault(Return(false)); |
} |
MockBluetoothGattConnection::~MockBluetoothGattConnection() {} |