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 7f06a9f1bf705ed6a7b6a8948bcd00e727de9af1..8427fbe0df841fa9da8be173c44ecc554f1ffcdd 100644 |
--- a/device/bluetooth/test/mock_bluetooth_gatt_connection.cc |
+++ b/device/bluetooth/test/mock_bluetooth_gatt_connection.cc |
@@ -4,12 +4,16 @@ |
#include "device/bluetooth/test/mock_bluetooth_gatt_connection.h" |
+#include "device/bluetooth/bluetooth_adapter.h" |
+ |
using ::testing::Return; |
namespace device { |
MockBluetoothGattConnection::MockBluetoothGattConnection( |
- const std::string& device_address) { |
+ scoped_refptr<device::BluetoothAdapter> adapter, |
+ const std::string& device_address) |
+ : BluetoothGattConnection(/* Next Patch: adapter, device_address */) { |
ON_CALL(*this, GetDeviceAddress()).WillByDefault(Return(device_address)); |
ON_CALL(*this, IsConnected()).WillByDefault(Return(true)); |
} |