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

Side by Side Diff: chromeos/dbus/dbus_thread_manager.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/dbus_thread_manager.h" 5 #include "chromeos/dbus/dbus_thread_manager.h"
6 6
7 #include "base/threading/thread.h" 7 #include "base/threading/thread.h"
8 #include "chrome/browser/chromeos/dbus/bluetooth_adapter_client.h" 8 #include "chromeos/dbus/bluetooth_adapter_client.h"
9 #include "chrome/browser/chromeos/dbus/bluetooth_device_client.h" 9 #include "chromeos/dbus/bluetooth_device_client.h"
10 #include "chrome/browser/chromeos/dbus/bluetooth_input_client.h" 10 #include "chromeos/dbus/bluetooth_input_client.h"
11 #include "chrome/browser/chromeos/dbus/bluetooth_manager_client.h" 11 #include "chromeos/dbus/bluetooth_manager_client.h"
12 #include "chrome/browser/chromeos/dbus/bluetooth_node_client.h" 12 #include "chromeos/dbus/bluetooth_node_client.h"
13 #include "chrome/browser/chromeos/dbus/cashew_client.h" 13 #include "chromeos/dbus/cashew_client.h"
14 #include "chrome/browser/chromeos/dbus/cros_disks_client.h" 14 #include "chromeos/dbus/cros_disks_client.h"
15 #include "chrome/browser/chromeos/dbus/cryptohome_client.h" 15 #include "chromeos/dbus/cryptohome_client.h"
16 #include "chrome/browser/chromeos/dbus/image_burner_client.h" 16 #include "chromeos/dbus/image_burner_client.h"
17 #include "chrome/browser/chromeos/dbus/introspectable_client.h" 17 #include "chromeos/dbus/introspectable_client.h"
18 #include "chrome/browser/chromeos/dbus/power_manager_client.h" 18 #include "chromeos/dbus/power_manager_client.h"
19 #include "chrome/browser/chromeos/dbus/session_manager_client.h" 19 #include "chromeos/dbus/session_manager_client.h"
20 #include "chrome/browser/chromeos/dbus/speech_synthesizer_client.h" 20 #include "chromeos/dbus/speech_synthesizer_client.h"
21 #include "chrome/browser/chromeos/dbus/update_engine_client.h" 21 #include "chromeos/dbus/update_engine_client.h"
22 #include "dbus/bus.h" 22 #include "dbus/bus.h"
23 23
24 namespace chromeos { 24 namespace chromeos {
25 25
26 static DBusThreadManager* g_dbus_thread_manager = NULL; 26 static DBusThreadManager* g_dbus_thread_manager = NULL;
27 27
28 // The DBusThreadManager implementation used in production. 28 // The DBusThreadManager implementation used in production.
29 class DBusThreadManagerImpl : public DBusThreadManager { 29 class DBusThreadManagerImpl : public DBusThreadManager {
30 public: 30 public:
31 DBusThreadManagerImpl() { 31 DBusThreadManagerImpl() {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 } 222 }
223 223
224 // static 224 // static
225 DBusThreadManager* DBusThreadManager::Get() { 225 DBusThreadManager* DBusThreadManager::Get() {
226 CHECK(g_dbus_thread_manager) 226 CHECK(g_dbus_thread_manager)
227 << "DBusThreadManager::Get() called before Initialize()"; 227 << "DBusThreadManager::Get() called before Initialize()";
228 return g_dbus_thread_manager; 228 return g_dbus_thread_manager;
229 } 229 }
230 230
231 } // namespace chromeos 231 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698