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

Unified Diff: chrome/browser/chromeos/bluetooth/bluetooth_device.cc

Issue 9839064: chromeos: Separate XML parsing code from IntrospectableClient (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/introspect_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/bluetooth/bluetooth_device.cc
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_device.cc b/chrome/browser/chromeos/bluetooth/bluetooth_device.cc
index f1c04dae994a1a5429d313ac61c93f887f6b89f6..c9c85cc3361d4959ff364cd779162448eb819f2b 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) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/introspect_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698