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

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

Issue 1284073002: bluetooth: Add adapter to BluetoothDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-drop-callback-
Patch Set: Merge TOT 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 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));
}
« 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