OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECT_UTIL_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECT_UTIL_H_ | |
7 #pragma once | |
8 | |
9 #include <string> | |
10 #include <vector> | |
11 | |
12 namespace chromeos { | |
13 | |
14 // Parses XML-formatted introspection data returned by | |
15 // org.freedesktop.DBus.Introspectable.Introspect and returns the list of | |
16 // interface names declared within. | |
17 std::vector<std::string> GetInterfacesFromIntrospectResult( | |
18 const std::string& xml_data); | |
19 | |
20 } // namespace chromeos | |
21 | |
22 #endif // CHROME_BROWSER_CHROMEOS_DBUS_INTROSPECT_UTIL_H_ | |
OLD | NEW |