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_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // The Bluetooth class of the device, a bitmask that may be decoded using | 87 // The Bluetooth class of the device, a bitmask that may be decoded using |
88 // https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm | 88 // https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm |
89 uint32 bluetooth_class_; | 89 uint32 bluetooth_class_; |
90 | 90 |
91 // The name of the device, as supplied by the remote device. | 91 // The name of the device, as supplied by the remote device. |
92 std::string name_; | 92 std::string name_; |
93 | 93 |
94 // The Bluetooth address of the device. | 94 // The Bluetooth address of the device. |
95 std::string address_; | 95 std::string address_; |
96 | 96 |
97 // Tracked device state, updated by the adapter managing the lifecyle of | 97 // Tracked device state, updated by the adapter managing the lifecycle of |
98 // the device. | 98 // the device. |
99 bool paired_; | 99 bool paired_; |
100 bool connected_; | 100 bool connected_; |
101 | 101 |
102 // Used to send change notifications when a device disappears during | 102 // Used to send change notifications when a device disappears during |
103 // discovery. | 103 // discovery. |
104 bool visible_; | 104 bool visible_; |
105 | 105 |
106 // The services (identified by UUIDs) that this device provides. | 106 // The services (identified by UUIDs) that this device provides. |
107 ServiceList service_uuids_; | 107 ServiceList service_uuids_; |
108 ServiceRecordList service_record_list_; | 108 ServiceRecordList service_record_list_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); | 110 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace device | 113 } // namespace device |
114 | 114 |
115 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ | 115 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
OLD | NEW |