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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <unordered_set> | 14 #include <unordered_set> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/containers/scoped_ptr_hash_map.h" | 18 #include "base/containers/scoped_ptr_hash_map.h" |
19 #include "base/gtest_prod_util.h" | 19 #include "base/gtest_prod_util.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
21 #include "base/optional.h" | 21 #include "base/optional.h" |
22 #include "base/strings/string16.h" | 22 #include "base/strings/string16.h" |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "device/bluetooth/bluetooth_common.h" | 24 #include "device/bluetooth/bluetooth_common.h" |
25 #include "device/bluetooth/bluetooth_export.h" | 25 #include "device/bluetooth/bluetooth_export.h" |
26 #include "device/bluetooth/bluetooth_uuid.h" | 26 #include "device/bluetooth/bluetooth_uuid.h" |
27 #include "net/log/net_log.h" | |
28 | 27 |
29 namespace base { | 28 namespace base { |
30 class BinaryValue; | 29 class BinaryValue; |
31 } | 30 } |
32 | 31 |
33 namespace device { | 32 namespace device { |
34 | 33 |
35 class BluetoothAdapter; | 34 class BluetoothAdapter; |
36 class BluetoothGattConnection; | 35 class BluetoothGattConnection; |
37 class BluetoothRemoteGattService; | 36 class BluetoothRemoteGattService; |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 | 646 |
648 private: | 647 private: |
649 // Returns a localized string containing the device's bluetooth address and | 648 // Returns a localized string containing the device's bluetooth address and |
650 // a device type for display when |name_| is empty. | 649 // a device type for display when |name_| is empty. |
651 base::string16 GetAddressWithLocalizedDeviceTypeName() const; | 650 base::string16 GetAddressWithLocalizedDeviceTypeName() const; |
652 }; | 651 }; |
653 | 652 |
654 } // namespace device | 653 } // namespace device |
655 | 654 |
656 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ | 655 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_H_ |
OLD | NEW |