OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/dbus/introspectable_client.h" | 5 #include "chromeos/dbus/introspectable_client.h" |
6 | 6 |
7 #include <string> | |
8 #include <vector> | |
9 | 7 |
10 #include "base/bind.h" | 8 #include "base/bind.h" |
11 #include "base/logging.h" | 9 #include "base/logging.h" |
12 #include "dbus/bus.h" | 10 #include "dbus/bus.h" |
13 #include "dbus/message.h" | 11 #include "dbus/message.h" |
14 #include "dbus/object_path.h" | |
15 #include "dbus/object_proxy.h" | 12 #include "dbus/object_proxy.h" |
16 #include "third_party/libxml/chromium/libxml_utils.h" | 13 #include "third_party/libxml/chromium/libxml_utils.h" |
17 | 14 |
18 namespace { | 15 namespace { |
19 | 16 |
20 // D-Bus specification constants. | 17 // D-Bus specification constants. |
21 const char kIntrospectableInterface[] = "org.freedesktop.DBus.Introspectable"; | 18 const char kIntrospectableInterface[] = "org.freedesktop.DBus.Introspectable"; |
22 const char kIntrospect[] = "Introspect"; | 19 const char kIntrospect[] = "Introspect"; |
23 | 20 |
24 // String constants used for parsing D-Bus Introspection XML data. | 21 // String constants used for parsing D-Bus Introspection XML data. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 125 |
129 return interfaces; | 126 return interfaces; |
130 } | 127 } |
131 | 128 |
132 // static | 129 // static |
133 IntrospectableClient* IntrospectableClient::Create() { | 130 IntrospectableClient* IntrospectableClient::Create() { |
134 return new IntrospectableClientImpl(); | 131 return new IntrospectableClientImpl(); |
135 } | 132 } |
136 | 133 |
137 } // namespace chromeos | 134 } // namespace chromeos |
OLD | NEW |