Index: device/bluetooth/test/mock_bluetooth_device.cc |
diff --git a/device/bluetooth/test/mock_bluetooth_device.cc b/device/bluetooth/test/mock_bluetooth_device.cc |
index 39d27c82c606a4f1fd1079d85a96dff6daacf587..b593da0ed961aa8c314433bd3739282cb4c8d6d4 100644 |
--- a/device/bluetooth/test/mock_bluetooth_device.cc |
+++ b/device/bluetooth/test/mock_bluetooth_device.cc |
@@ -48,11 +48,13 @@ MockBluetoothDevice::MockBluetoothDevice(MockBluetoothAdapter* adapter, |
.WillByDefault(testing::Return(paired)); |
ON_CALL(*this, IsConnected()) |
.WillByDefault(testing::ReturnPointee(&connected_)); |
+ ON_CALL(*this, IsGattConnected()) |
+ .WillByDefault(testing::ReturnPointee(&connected_)); |
ON_CALL(*this, IsConnectable()) |
.WillByDefault(testing::Return(false)); |
ON_CALL(*this, IsConnecting()) |
.WillByDefault(testing::Return(false)); |
- ON_CALL(*this, GetUUIDs()).WillByDefault(testing::Return(uuids_)); |
+ ON_CALL(*this, GetUUIDs()).WillByDefault(testing::ReturnPointee(&uuids_)); |
ON_CALL(*this, ExpectingPinCode()) |
.WillByDefault(testing::Return(false)); |
ON_CALL(*this, ExpectingPasskey()) |