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

Unified Diff: device/bluetooth/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/bluetooth_device.cc
diff --git a/device/bluetooth/bluetooth_device.cc b/device/bluetooth/bluetooth_device.cc
index fe21162e9335f453e377960f70731698ea67fcb6..c1f62d99568f249f1790b47823872e8396682840 100644
--- a/device/bluetooth/bluetooth_device.cc
+++ b/device/bluetooth/bluetooth_device.cc
@@ -15,8 +15,8 @@
namespace device {
-BluetoothDevice::BluetoothDevice()
- : services_data_(new base::DictionaryValue()) {}
+BluetoothDevice::BluetoothDevice(BluetoothAdapter* adapter)
+ : adapter_(adapter), services_data_(new base::DictionaryValue()) {}
BluetoothDevice::~BluetoothDevice() {
STLDeleteValues(&gatt_services_);

Powered by Google App Engine
This is Rietveld 408576698