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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_vector.h" | |
15 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
16 #include "device/bluetooth/bluetooth_export.h" | 15 #include "device/bluetooth/bluetooth_export.h" |
17 #include "device/bluetooth/bluetooth_uuid.h" | 16 #include "device/bluetooth/bluetooth_uuid.h" |
18 #include "net/log/net_log.h" | 17 #include "net/log/net_log.h" |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class BinaryValue; | 20 class BinaryValue; |
22 } | 21 } |
23 | 22 |
24 namespace device { | 23 namespace device { |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 453 |
455 private: | 454 private: |
456 // Returns a localized string containing the device's bluetooth address and | 455 // Returns a localized string containing the device's bluetooth address and |
457 // a device type for display when |name_| is empty. | 456 // a device type for display when |name_| is empty. |
458 base::string16 GetAddressWithLocalizedDeviceTypeName() const; | 457 base::string16 GetAddressWithLocalizedDeviceTypeName() const; |
459 }; | 458 }; |
460 | 459 |
461 } // namespace device | 460 } // namespace device |
462 | 461 |
463 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ | 462 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ |
OLD | NEW |