Index: device/bluetooth/bluetooth_service_record_chromeos.h |
diff --git a/device/bluetooth/bluetooth_service_record_chromeos.h b/device/bluetooth/bluetooth_service_record_chromeos.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f65b2a23bb617e91cb54d0ca397c6b34610d3f82 |
--- /dev/null |
+++ b/device/bluetooth/bluetooth_service_record_chromeos.h |
@@ -0,0 +1,34 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_ |
+#define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_ |
+ |
+#include <string> |
+ |
+#include "base/basictypes.h" |
+#include "device/bluetooth/bluetooth_service_record.h" |
+ |
+class XmlReader; |
+ |
+namespace device { |
+ |
+// BluetoothServiceRecordChromeOs is an implementation of BluetoothServiceRecord |
+// for Chrome Os platform. |
bryeung
2013/01/14 20:21:46
"for the ChromeOS platform"
youngki
2013/01/14 20:37:57
Done.
|
+class BluetoothServiceRecordChromeOs : public BluetoothServiceRecord { |
+ public: |
+ BluetoothServiceRecordChromeOs( |
+ const std::string& address, |
+ const std::string& xml_data); |
+ |
+ private: |
+ void ExtractChannels(XmlReader* reader); |
+ void ExtractUuid(XmlReader* reader); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordChromeOs); |
+}; |
+ |
+} // namespace device |
+ |
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_CHROMEOS_H_ |