| Index: chrome/browser/chromeos/bluetooth/bluetooth_service_record_dbus.cc
|
| diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_service_record.cc b/chrome/browser/chromeos/bluetooth/bluetooth_service_record_dbus.cc
|
| similarity index 90%
|
| rename from chrome/browser/chromeos/bluetooth/bluetooth_service_record.cc
|
| rename to chrome/browser/chromeos/bluetooth/bluetooth_service_record_dbus.cc
|
| index b80ce299bbb2269000d5110fbd6ee0b229c692d0..1b5d81ab3dc3358c50d590d4ae6adbb40d258da3 100644
|
| --- a/chrome/browser/chromeos/bluetooth/bluetooth_service_record.cc
|
| +++ b/chrome/browser/chromeos/bluetooth/bluetooth_service_record_dbus.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h"
|
| +#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record_dbus.h"
|
|
|
| #include <string>
|
| #include <vector>
|
| @@ -46,7 +46,7 @@ bool ExtractTextValue(XmlReader* reader, std::string* value_out) {
|
|
|
| namespace chromeos {
|
|
|
| -BluetoothServiceRecord::BluetoothServiceRecord(
|
| +BluetoothServiceRecordDBus::BluetoothServiceRecordDBus(
|
| const std::string& address,
|
| const std::string& xml_data)
|
| : address_(address),
|
| @@ -76,7 +76,15 @@ BluetoothServiceRecord::BluetoothServiceRecord(
|
| }
|
| }
|
|
|
| -void BluetoothServiceRecord::ExtractChannels(XmlReader* reader) {
|
| +const std::string& BluetoothServiceRecordDBus::name() const {
|
| + return name_;
|
| +}
|
| +
|
| +const std::string& BluetoothServiceRecordDBus::uuid() const {
|
| + return uuid_;
|
| +}
|
| +
|
| +void BluetoothServiceRecordDBus::ExtractChannels(XmlReader* reader) {
|
| const int start_depth = reader->Depth();
|
| do {
|
| if (reader->NodeName() == kSequenceNode) {
|
| @@ -104,7 +112,7 @@ void BluetoothServiceRecord::ExtractChannels(XmlReader* reader) {
|
| reader->Depth() != start_depth);
|
| }
|
|
|
| -void BluetoothServiceRecord::ExtractUuid(XmlReader* reader) {
|
| +void BluetoothServiceRecordDBus::ExtractUuid(XmlReader* reader) {
|
| const int start_depth = reader->Depth();
|
| do {
|
| if (reader->NodeName() == kSequenceNode) {
|
|
|