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

Unified Diff: device/bluetooth/bluetooth_device_win.cc

Issue 12929003: Implemented BluetoothAdapterMac::AddDevices(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DeviceRemoved obsolete in OSX. Created 7 years, 9 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_win.cc
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc
index c06693f9222c82524055e3063cd77e8560f819aa..53243f7c6842c2bbc327ad5a5b83e6d51c59a4ac 100644
--- a/device/bluetooth/bluetooth_device_win.cc
+++ b/device/bluetooth/bluetooth_device_win.cc
@@ -26,13 +26,12 @@ namespace device {
BluetoothDeviceWin::BluetoothDeviceWin(
const BluetoothTaskManagerWin::DeviceState& state)
- : BluetoothDevice(), device_fingerprint_(ComputeDeviceFingerprint(state)) {
- name_ = state.name;
- address_ = state.address;
- bluetooth_class_ = state.bluetooth_class;
- connected_ = state.connected;
- bonded_ = state.authenticated;
-
+ : BluetoothDevice(state.name,
+ state.address,
+ state.bluetooth_class,
+ state.connected,
+ state.authenticated),
+ device_fingerprint_(ComputeDeviceFingerprint(state)) {
for (ScopedVector<BluetoothTaskManagerWin::ServiceRecordState>::const_iterator
iter = state.service_record_states.begin();
iter != state.service_record_states.end();

Powered by Google App Engine
This is Rietveld 408576698