diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-25 04:58:35 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-25 04:58:35 +0000 |
commit | c9a384406ed1801f1c13bf8e7634032236dd45e1 (patch) | |
tree | 2f63198423b7658ba82b5a2e25695765d5af7802 /chrome/browser/chromeos/bluetooth | |
parent | 3b1992d113b559211d6f58d72935ad17d6af222f (diff) | |
download | chromium_src-c9a384406ed1801f1c13bf8e7634032236dd45e1.zip chromium_src-c9a384406ed1801f1c13bf8e7634032236dd45e1.tar.gz chromium_src-c9a384406ed1801f1c13bf8e7634032236dd45e1.tar.bz2 |
chromeos: Separate XML parsing code from IntrospectableClient
BUG=119583
TEST=unit_tests --gtest_filter=IntrospectUtilTest.GetInterfacesFromIntrospectResult
Review URL: http://codereview.chromium.org/9839064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/bluetooth')
-rw-r--r-- | chrome/browser/chromeos/bluetooth/bluetooth_device.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_device.cc b/chrome/browser/chromeos/bluetooth/bluetooth_device.cc index f1c04da..c9c85cc 100644 --- a/chrome/browser/chromeos/bluetooth/bluetooth_device.cc +++ b/chrome/browser/chromeos/bluetooth/bluetooth_device.cc @@ -19,6 +19,7 @@ #include "chrome/browser/chromeos/dbus/bluetooth_device_client.h" #include "chrome/browser/chromeos/dbus/bluetooth_input_client.h" #include "chrome/browser/chromeos/dbus/introspectable_client.h" +#include "chrome/browser/chromeos/dbus/introspect_util.h" #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" #include "dbus/bus.h" #include "dbus/object_path.h" @@ -281,7 +282,7 @@ void BluetoothDevice::OnIntrospect(ErrorCallback error_callback, // device. Send appropraite Connect calls for each of those interfaces // to connect all of the application protocols for this device. std::vector<std::string> interfaces = - IntrospectableClient::GetInterfacesFromXmlData(xml_data); + GetInterfacesFromIntrospectResult(xml_data); for (std::vector<std::string>::iterator iter = interfaces.begin(); iter != interfaces.end(); ++iter) { |