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..d9ecf22b474825f0a4ca0eb773e5de992e6a56b0 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(); |
@@ -54,10 +53,6 @@ BluetoothDeviceWin::BluetoothDeviceWin( |
BluetoothDeviceWin::~BluetoothDeviceWin() { |
} |
-void BluetoothDeviceWin::SetVisible(bool visible) { |
- visible_ = visible; |
-} |
- |
bool BluetoothDeviceWin::IsPaired() const { |
return false; |
} |