| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" | 5 #include "device/bluetooth/bluetooth_device.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "grit/generated_resources.h" | 8 #include "grit/generated_resources.h" |
| 9 #include "ui/base/l10n/l10n_util.h" | 9 #include "ui/base/l10n/l10n_util.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace device { |
| 12 | 12 |
| 13 BluetoothDevice::BluetoothDevice() | 13 BluetoothDevice::BluetoothDevice() |
| 14 : bluetooth_class_(0), | 14 : bluetooth_class_(0), |
| 15 visible_(false), | 15 visible_(false), |
| 16 bonded_(false), | 16 bonded_(false), |
| 17 connected_(false) { | 17 connected_(false) { |
| 18 } | 18 } |
| 19 | 19 |
| 20 BluetoothDevice::~BluetoothDevice() { | 20 BluetoothDevice::~BluetoothDevice() { |
| 21 } | 21 } |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 160 } |
| 161 | 161 |
| 162 bool BluetoothDevice::IsBonded() const { | 162 bool BluetoothDevice::IsBonded() const { |
| 163 return bonded_; | 163 return bonded_; |
| 164 } | 164 } |
| 165 | 165 |
| 166 bool BluetoothDevice::IsConnected() const { | 166 bool BluetoothDevice::IsConnected() const { |
| 167 return connected_; | 167 return connected_; |
| 168 } | 168 } |
| 169 | 169 |
| 170 } // namespace chromeos | 170 } // namespace device |
| OLD | NEW |