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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 | 14 |
15 namespace device { | 15 namespace device { |
16 | 16 |
17 class BluetoothProfile; | 17 class BluetoothProfile; |
18 class BluetoothServiceRecord; | 18 class BluetoothServiceRecord; |
19 class BluetoothSocket; | 19 class BluetoothSocket; |
20 | 20 |
21 struct BluetoothOutOfBandPairingData; | 21 struct BluetoothOutOfBandPairingData; |
22 | 22 |
23 // BluetoothDevice represents a remote Bluetooth device, both its properties and | 23 // BluetoothDevice represents a remote Bluetooth device, both its properties and |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 private: | 369 private: |
370 // Returns a localized string containing the device's bluetooth address and | 370 // Returns a localized string containing the device's bluetooth address and |
371 // a device type for display when |name_| is empty. | 371 // a device type for display when |name_| is empty. |
372 string16 GetAddressWithLocalizedDeviceTypeName() const; | 372 string16 GetAddressWithLocalizedDeviceTypeName() const; |
373 }; | 373 }; |
374 | 374 |
375 } // namespace device | 375 } // namespace device |
376 | 376 |
377 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ | 377 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ |
OLD | NEW |