summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/introspectable_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/introspectable_client.h')
-rw-r--r--chromeos/dbus/introspectable_client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromeos/dbus/introspectable_client.h b/chromeos/dbus/introspectable_client.h
index c21eb94..c70bb6e 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);