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_bluetooth { |
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 | 134 |
135 bool BluetoothDevice::IsBonded() const { | 135 bool BluetoothDevice::IsBonded() const { |
136 return bonded_; | 136 return bonded_; |
137 } | 137 } |
138 | 138 |
139 bool BluetoothDevice::IsConnected() const { | 139 bool BluetoothDevice::IsConnected() const { |
140 return connected_; | 140 return connected_; |
141 } | 141 } |
142 | 142 |
143 } // namespace chromeos | 143 } // namespace device_bluetooth |
OLD | NEW |