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

Unified Diff: chrome/browser/chromeos/dbus/introspect_util.h

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
Index: chrome/browser/chromeos/dbus/introspect_util.h
diff --git a/chrome/browser/chromeos/dbus/introspect_util.h b/chrome/browser/chromeos/dbus/introspect_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..93577c0592dad172988c4fe2ba0ea0fe58f307aa
--- /dev/null
+++ b/chrome/browser/chromeos/dbus/introspect_util.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECT_UTIL_H_
+#define CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECT_UTIL_H_
+#pragma once
+
+#include <string>
+#include <vector>
+
+namespace chromeos {
+
+// Parses XML-formatted introspection data returned by
+// org.freedesktop.DBus.Introspectable.Introspect and returns the list of
+// interface names declared within.
+std::vector<std::string> GetInterfacesFromIntrospectResult(
+ const std::string& xml_data);
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECT_UTIL_H_
« no previous file with comments | « chrome/browser/chromeos/bluetooth/bluetooth_device.cc ('k') | chrome/browser/chromeos/dbus/introspect_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698