| 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 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
| 10 #include "dbus/bus.h" | 11 #include "dbus/bus.h" |
| 11 #include "dbus/message.h" | 12 #include "dbus/message.h" |
| 12 #include "dbus/object_proxy.h" | 13 #include "dbus/object_proxy.h" |
| 13 #include "third_party/libxml/chromium/libxml_utils.h" | 14 #include "third_party/libxml/chromium/libxml_utils.h" |
| 14 | 15 |
| 15 namespace { | 16 namespace { |
| 16 | 17 |
| 17 // D-Bus specification constants. | 18 // D-Bus specification constants. |
| 18 const char kIntrospectableInterface[] = "org.freedesktop.DBus.Introspectable"; | 19 const char kIntrospectableInterface[] = "org.freedesktop.DBus.Introspectable"; |
| 19 const char kIntrospect[] = "Introspect"; | 20 const char kIntrospect[] = "Introspect"; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 126 |
| 126 return interfaces; | 127 return interfaces; |
| 127 } | 128 } |
| 128 | 129 |
| 129 // static | 130 // static |
| 130 IntrospectableClient* IntrospectableClient::Create() { | 131 IntrospectableClient* IntrospectableClient::Create() { |
| 131 return new IntrospectableClientImpl(); | 132 return new IntrospectableClientImpl(); |
| 132 } | 133 } |
| 133 | 134 |
| 134 } // namespace chromeos | 135 } // namespace chromeos |
| OLD | NEW |