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 "chrome/browser/chromeos/dbus/introspectable_client.h" | 5 #include "chromeos/dbus/introspectable_client.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "dbus/bus.h" | 12 #include "dbus/bus.h" |
13 #include "dbus/message.h" | 13 #include "dbus/message.h" |
14 #include "dbus/object_path.h" | 14 #include "dbus/object_path.h" |
15 #include "dbus/object_proxy.h" | 15 #include "dbus/object_proxy.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 IntrospectableClient* IntrospectableClient::Create( | 108 IntrospectableClient* IntrospectableClient::Create( |
109 DBusClientImplementationType type, | 109 DBusClientImplementationType type, |
110 dbus::Bus* bus) { | 110 dbus::Bus* bus) { |
111 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) | 111 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) |
112 return new IntrospectableClientImpl(bus); | 112 return new IntrospectableClientImpl(bus); |
113 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); | 113 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); |
114 return new IntrospectableClientStubImpl(); | 114 return new IntrospectableClientStubImpl(); |
115 } | 115 } |
116 | 116 |
117 } // namespace chromeos | 117 } // namespace chromeos |
OLD | NEW |