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

Side by Side Diff: chromeos/dbus/introspectable_client.cc

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: _ 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 unified diff | Download patch
OLDNEW
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/chromeos/chromeos_version.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/chromeos/chromeos_version.h"
13 #include "dbus/bus.h" 13 #include "dbus/bus.h"
14 #include "dbus/message.h" 14 #include "dbus/message.h"
15 #include "dbus/object_path.h" 15 #include "dbus/object_path.h"
16 #include "dbus/object_proxy.h" 16 #include "dbus/object_proxy.h"
17 17
18 namespace { 18 namespace {
19 19
20 // D-Bus specification constants. 20 // D-Bus specification constants.
21 const char kIntrospectableInterface[] = "org.freedesktop.DBus.Introspectable"; 21 const char kIntrospectableInterface[] = "org.freedesktop.DBus.Introspectable";
22 const char kIntrospect[] = "Introspect"; 22 const char kIntrospect[] = "Introspect";
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // static 108 // static
109 IntrospectableClient* IntrospectableClient::Create(dbus::Bus* bus) { 109 IntrospectableClient* IntrospectableClient::Create(dbus::Bus* bus) {
110 if (base::chromeos::IsRunningOnChromeOS()) { 110 if (base::chromeos::IsRunningOnChromeOS()) {
111 return new IntrospectableClientImpl(bus); 111 return new IntrospectableClientImpl(bus);
112 } else { 112 } else {
113 return new IntrospectableClientStubImpl(); 113 return new IntrospectableClientStubImpl();
114 } 114 }
115 } 115 }
116 116
117 } // namespace chromeos 117 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698