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

Unified Diff: device/bluetooth/bluetooth_device_win_unittest.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/bluetooth_device_win.cc ('k') | device/bluetooth/bluetooth_low_energy_device_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_win_unittest.cc
diff --git a/device/bluetooth/bluetooth_device_win_unittest.cc b/device/bluetooth/bluetooth_device_win_unittest.cc
index 41d6c91e6c5b100bfebbbf5bb72fd93605783d2e..c9d48a38652ed63fdb5312f86c6ac33aa4f8844b 100644
--- a/device/bluetooth/bluetooth_device_win_unittest.cc
+++ b/device/bluetooth/bluetooth_device_win_unittest.cc
@@ -63,21 +63,17 @@ class BluetoothDeviceWinTest : public testing::Test {
base::HexStringToBytes(kTestVideoSdpBytes, &video_state->sdp_bytes);
device_state_->service_record_states.push_back(video_state);
- device_.reset(new BluetoothDeviceWin(*device_state_,
- ui_task_runner,
- socket_thread,
- NULL,
+ device_.reset(new BluetoothDeviceWin(NULL, *device_state_, ui_task_runner,
+ socket_thread, NULL,
net::NetLog::Source()));
// Add empty device.
empty_device_state_.reset(new BluetoothTaskManagerWin::DeviceState());
empty_device_state_->name = kDeviceName;
empty_device_state_->address = kDeviceAddress;
- empty_device_.reset(new BluetoothDeviceWin(*empty_device_state_,
- ui_task_runner,
- socket_thread,
- NULL,
- net::NetLog::Source()));
+ empty_device_.reset(new BluetoothDeviceWin(NULL, *empty_device_state_,
+ ui_task_runner, socket_thread,
+ NULL, net::NetLog::Source()));
}
protected:
« no previous file with comments | « device/bluetooth/bluetooth_device_win.cc ('k') | device/bluetooth/bluetooth_low_energy_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698