OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class Thread; | 13 class Thread; |
14 }; | 14 }; |
15 | 15 |
16 namespace dbus { | 16 namespace dbus { |
17 class Bus; | 17 class Bus; |
18 }; | 18 }; |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
22 class BluetoothAdapterClient; | 22 class BluetoothAdapterClient; |
23 class BluetoothManagerClient; | 23 class BluetoothManagerClient; |
24 class CrosDisksClient; | 24 class CrosDisksClient; |
25 class CrosDBusService; | |
26 class PowerManagerClient; | 25 class PowerManagerClient; |
27 class SessionManagerClient; | 26 class SessionManagerClient; |
28 class SensorsClient; | 27 class SensorsClient; |
29 class SpeechSynthesizerClient; | 28 class SpeechSynthesizerClient; |
30 | 29 |
31 // DBusThreadManager manages the D-Bus thread, the thread dedicated to | 30 // DBusThreadManager manages the D-Bus thread, the thread dedicated to |
32 // handling asynchronous D-Bus operations. | 31 // handling asynchronous D-Bus operations. |
33 // | 32 // |
34 // This class also manages D-Bus connections and D-Bus clients, which | 33 // This class also manages D-Bus connections and D-Bus clients, which |
35 // depend on the D-Bus thread to ensure the right order of shutdowns for | 34 // depend on the D-Bus thread to ensure the right order of shutdowns for |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 105 |
107 protected: | 106 protected: |
108 DBusThreadManager(); | 107 DBusThreadManager(); |
109 | 108 |
110 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 109 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
111 }; | 110 }; |
112 | 111 |
113 } // namespace chromeos | 112 } // namespace chromeos |
114 | 113 |
115 #endif // CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 114 #endif // CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |