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

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

Issue 1284073002: bluetooth: Add adapter to BluetoothDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-drop-callback-
Patch Set: Updated patchset dependency Created 5 years, 4 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
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 19b67a31416dd78bbba630f91f08d3a2550d90d8..91628d65d63dd18cc9a69fc5f803d4c0565c7285 100644
--- a/device/bluetooth/test/mock_bluetooth_device.cc
+++ b/device/bluetooth/test/mock_bluetooth_device.cc
@@ -16,7 +16,8 @@ MockBluetoothDevice::MockBluetoothDevice(MockBluetoothAdapter* adapter,
const std::string& address,
bool paired,
bool connected)
- : bluetooth_class_(bluetooth_class),
+ : BluetoothDevice(adapter),
+ bluetooth_class_(bluetooth_class),
name_(name),
address_(address) {
ON_CALL(*this, GetBluetoothClass())

Powered by Google App Engine
This is Rietveld 408576698