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

Unified Diff: chromeos/dbus/introspectable_client.h

Issue 10440013: Move chromeos::GetInterfacesFromIntrospectResult into IntrospectableClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « chromeos/chromeos.gyp ('k') | chromeos/dbus/introspectable_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/introspectable_client.h
diff --git a/chromeos/dbus/introspectable_client.h b/chromeos/dbus/introspectable_client.h
index c21eb94c49dd840c7aa88c10cf12387f8906e8a3..c70bb6e1476b4a417dcd989251c885ff978be1a1 100644
--- a/chromeos/dbus/introspectable_client.h
+++ b/chromeos/dbus/introspectable_client.h
@@ -42,6 +42,12 @@ class CHROMEOS_EXPORT IntrospectableClient {
const dbus::ObjectPath& object_path,
const IntrospectCallback& callback) = 0;
+ // Parses XML-formatted introspection data returned by
+ // org.freedesktop.DBus.Introspectable.Introspect and returns the list of
+ // interface names declared within.
+ static std::vector<std::string> GetInterfacesFromIntrospectResult(
+ const std::string& xml_data);
+
// Creates the instance
static IntrospectableClient* Create(DBusClientImplementationType type,
dbus::Bus* bus);
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/introspectable_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698