Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: device/bluetooth/bluetooth_device_win.h

Issue 21089002: Fix bluetooth GetServiceRecord with uuid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/bluetooth/bluetooth_device.h ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device.h ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698