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 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 5 #ifndef CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 6 #define CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 // Style Note: Clients are sorted by names. | 23 // Style Note: Clients are sorted by names. |
24 class BluetoothAdapterClient; | 24 class BluetoothAdapterClient; |
25 class BluetoothDeviceClient; | 25 class BluetoothDeviceClient; |
26 class BluetoothInputClient; | 26 class BluetoothInputClient; |
27 class BluetoothManagerClient; | 27 class BluetoothManagerClient; |
28 class BluetoothNodeClient; | 28 class BluetoothNodeClient; |
29 class CashewClient; | 29 class CashewClient; |
30 class CrosDisksClient; | 30 class CrosDisksClient; |
31 class CryptohomeClient; | 31 class CryptohomeClient; |
32 class DebugDaemonClient; | 32 class DebugDaemonClient; |
| 33 class FlimflamDeviceClient; |
33 class FlimflamIPConfigClient; | 34 class FlimflamIPConfigClient; |
34 class FlimflamManagerClient; | 35 class FlimflamManagerClient; |
35 class FlimflamNetworkClient; | 36 class FlimflamNetworkClient; |
36 class FlimflamProfileClient; | 37 class FlimflamProfileClient; |
37 class ImageBurnerClient; | 38 class ImageBurnerClient; |
38 class IntrospectableClient; | 39 class IntrospectableClient; |
39 class PowerManagerClient; | 40 class PowerManagerClient; |
40 class SessionManagerClient; | 41 class SessionManagerClient; |
41 class SpeechSynthesizerClient; | 42 class SpeechSynthesizerClient; |
42 class UpdateEngineClient; | 43 class UpdateEngineClient; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Returns the Cryptohome client, owned by DBusThreadManager. | 120 // Returns the Cryptohome client, owned by DBusThreadManager. |
120 // Do not cache this pointer and use it after DBusThreadManager is shut | 121 // Do not cache this pointer and use it after DBusThreadManager is shut |
121 // down. | 122 // down. |
122 virtual CryptohomeClient* GetCryptohomeClient() = 0; | 123 virtual CryptohomeClient* GetCryptohomeClient() = 0; |
123 | 124 |
124 // Returns the DebugDaemon client, owned by DBusThreadManager. | 125 // Returns the DebugDaemon client, owned by DBusThreadManager. |
125 // Do not cache this pointer and use it after DBusThreadManager is shut | 126 // Do not cache this pointer and use it after DBusThreadManager is shut |
126 // down. | 127 // down. |
127 virtual DebugDaemonClient* GetDebugDaemonClient() = 0; | 128 virtual DebugDaemonClient* GetDebugDaemonClient() = 0; |
128 | 129 |
| 130 // Returns the Flimflam Device client, owned by DBusThreadManager. |
| 131 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 132 // down. |
| 133 virtual FlimflamDeviceClient* GetFlimflamDeviceClient() = 0; |
| 134 |
129 // Returns the Flimflam IPConfig client, owned by DBusThreadManager. | 135 // Returns the Flimflam IPConfig client, owned by DBusThreadManager. |
130 // Do not cache this pointer and use it after DBusThreadManager is shut | 136 // Do not cache this pointer and use it after DBusThreadManager is shut |
131 // down. | 137 // down. |
132 virtual FlimflamIPConfigClient* GetFlimflamIPConfigClient() = 0; | 138 virtual FlimflamIPConfigClient* GetFlimflamIPConfigClient() = 0; |
133 | 139 |
134 // Returns the Flimflam Manager client, owned by DBusThreadManager. | 140 // Returns the Flimflam Manager client, owned by DBusThreadManager. |
135 // Do not cache this pointer and use it after DBusThreadManager is shut | 141 // Do not cache this pointer and use it after DBusThreadManager is shut |
136 // down. | 142 // down. |
137 virtual FlimflamManagerClient* GetFlimflamManagerClient() = 0; | 143 virtual FlimflamManagerClient* GetFlimflamManagerClient() = 0; |
138 | 144 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 184 |
179 protected: | 185 protected: |
180 DBusThreadManager(); | 186 DBusThreadManager(); |
181 | 187 |
182 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 188 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
183 }; | 189 }; |
184 | 190 |
185 } // namespace chromeos | 191 } // namespace chromeos |
186 | 192 |
187 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 193 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |