Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: device/bluetooth/test/mock_bluetooth_gatt_connection.cc

Issue 1341103004: Handle change of BLE address after pairing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ***ADDED BY MISTAKE, OMMIT *** Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_gatt_connection.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_gatt_connection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698