OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_ | |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/basictypes.h" | |
11 #include "device/bluetooth/bluetooth_service_record.h" | |
12 | |
13 class XmlReader; | |
14 | |
15 namespace device { | |
16 | |
17 // BluetoothServiceRecordChromeOs is an implementation of BluetoothServiceRecord | |
18 // for Chrome Os platform. | |
bryeung
2013/01/14 20:21:46
"for the ChromeOS platform"
youngki
2013/01/14 20:37:57
Done.
| |
19 class BluetoothServiceRecordChromeOs : public BluetoothServiceRecord { | |
20 public: | |
21 BluetoothServiceRecordChromeOs( | |
22 const std::string& address, | |
23 const std::string& xml_data); | |
24 | |
25 private: | |
26 void ExtractChannels(XmlReader* reader); | |
27 void ExtractUuid(XmlReader* reader); | |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordChromeOs); | |
30 }; | |
31 | |
32 } // namespace device | |
33 | |
34 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_ | |
OLD | NEW |