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

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

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
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 CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_
6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 class XmlReader; 12 class XmlReader;
13 13
14 namespace chromeos { 14 namespace device_bluetooth {
15 15
16 // BluetoothServiceRecord represents an SDP service record. 16 // BluetoothServiceRecord represents an SDP service record.
17 // 17 //
18 // This implementation is currently incomplete: it only supports those fields 18 // This implementation is currently incomplete: it only supports those fields
19 // that have been necessary so far. 19 // that have been necessary so far.
20 class BluetoothServiceRecord { 20 class BluetoothServiceRecord {
21 public: 21 public:
22 BluetoothServiceRecord( 22 BluetoothServiceRecord(
23 const std::string& address, 23 const std::string& address,
24 const std::string& xml_data); 24 const std::string& xml_data);
(...skipping 22 matching lines...) Expand all
47 std::string address_; 47 std::string address_;
48 std::string name_; 48 std::string name_;
49 std::string uuid_; 49 std::string uuid_;
50 50
51 bool supports_rfcomm_; 51 bool supports_rfcomm_;
52 uint8_t rfcomm_channel_; 52 uint8_t rfcomm_channel_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecord); 54 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecord);
55 }; 55 };
56 56
57 } // namespace chromeos 57 } // namespace device_bluetooth
58 58
59 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_ 59 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698