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

Unified Diff: device/bluetooth/bluetooth_adapter_win.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_adapter_win.cc
diff --git a/device/bluetooth/bluetooth_adapter_win.cc b/device/bluetooth/bluetooth_adapter_win.cc
index 158defc8d1c82f07789d555746782b0fb277d6ab..3469e5493edb1f1249f49eb8ed3743932eb89d53 100644
--- a/device/bluetooth/bluetooth_adapter_win.cc
+++ b/device/bluetooth/bluetooth_adapter_win.cc
@@ -265,11 +265,8 @@ void BluetoothAdapterWin::DevicesPolled(
BluetoothTaskManagerWin::DeviceState* device_state = (*iter);
if (added_devices.find(device_state->address) != added_devices.end()) {
BluetoothDeviceWin* device_win =
- new BluetoothDeviceWin(*device_state,
- ui_task_runner_,
- socket_thread_,
- NULL,
- net::NetLog::Source());
+ new BluetoothDeviceWin(this, *device_state, ui_task_runner_,
+ socket_thread_, NULL, net::NetLog::Source());
devices_[device_state->address] = device_win;
FOR_EACH_OBSERVER(BluetoothAdapter::Observer,
observers_,

Powered by Google App Engine
This is Rietveld 408576698