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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 class FlimflamNetworkClient; | 39 class FlimflamNetworkClient; |
40 class FlimflamProfileClient; | 40 class FlimflamProfileClient; |
41 class FlimflamServiceClient; | 41 class FlimflamServiceClient; |
42 class GsmSMSClient; | 42 class GsmSMSClient; |
43 class IBusClient; | 43 class IBusClient; |
44 class IBusEngineService; | 44 class IBusEngineService; |
45 class IBusEngineFactoryService; | 45 class IBusEngineFactoryService; |
46 class IBusInputContextClient; | 46 class IBusInputContextClient; |
47 class ImageBurnerClient; | 47 class ImageBurnerClient; |
48 class IntrospectableClient; | 48 class IntrospectableClient; |
| 49 class MediaTransferProtocolDaemonClient; |
49 class ModemMessagingClient; | 50 class ModemMessagingClient; |
50 class PowerManagerClient; | 51 class PowerManagerClient; |
51 class SessionManagerClient; | 52 class SessionManagerClient; |
52 class SMSClient; | 53 class SMSClient; |
53 class SpeechSynthesizerClient; | 54 class SpeechSynthesizerClient; |
54 class UpdateEngineClient; | 55 class UpdateEngineClient; |
55 | 56 |
56 // DBusThreadManager manages the D-Bus thread, the thread dedicated to | 57 // DBusThreadManager manages the D-Bus thread, the thread dedicated to |
57 // handling asynchronous D-Bus operations. | 58 // handling asynchronous D-Bus operations. |
58 // | 59 // |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Returns the image burner client, owned by DBusThreadManager. | 193 // Returns the image burner client, owned by DBusThreadManager. |
193 // Do not cache this pointer and use it after DBusThreadManger is shut | 194 // Do not cache this pointer and use it after DBusThreadManger is shut |
194 // down. | 195 // down. |
195 virtual ImageBurnerClient* GetImageBurnerClient() = 0; | 196 virtual ImageBurnerClient* GetImageBurnerClient() = 0; |
196 | 197 |
197 // Returns the introspectable object client, owned by DBusThreadManager. | 198 // Returns the introspectable object client, owned by DBusThreadManager. |
198 // Do not cache this pointer and use it after DBusThreadManger is shut | 199 // Do not cache this pointer and use it after DBusThreadManger is shut |
199 // down. | 200 // down. |
200 virtual IntrospectableClient* GetIntrospectableClient() = 0; | 201 virtual IntrospectableClient* GetIntrospectableClient() = 0; |
201 | 202 |
| 203 // Returns the media transfer protocol client, owned by DBusThreadManager. |
| 204 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 205 // down. |
| 206 virtual MediaTransferProtocolDaemonClient* |
| 207 GetMediaTransferProtocolDaemonClient() = 0; |
| 208 |
202 // Returns the Modem Messaging client, owned by DBusThreadManager. | 209 // Returns the Modem Messaging client, owned by DBusThreadManager. |
203 // Do not cache this pointer and use it after DBusThreadManager is shut | 210 // Do not cache this pointer and use it after DBusThreadManager is shut |
204 // down. | 211 // down. |
205 virtual ModemMessagingClient* GetModemMessagingClient() = 0; | 212 virtual ModemMessagingClient* GetModemMessagingClient() = 0; |
206 | 213 |
207 // Returns the power manager client, owned by DBusThreadManager. | 214 // Returns the power manager client, owned by DBusThreadManager. |
208 // See also comments at session_manager_client(). | 215 // See also comments at session_manager_client(). |
209 virtual PowerManagerClient* GetPowerManagerClient() = 0; | 216 virtual PowerManagerClient* GetPowerManagerClient() = 0; |
210 | 217 |
211 // Returns the session manager client, owned by DBusThreadManager. | 218 // Returns the session manager client, owned by DBusThreadManager. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 258 |
252 protected: | 259 protected: |
253 DBusThreadManager(); | 260 DBusThreadManager(); |
254 | 261 |
255 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 262 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
256 }; | 263 }; |
257 | 264 |
258 } // namespace chromeos | 265 } // namespace chromeos |
259 | 266 |
260 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 267 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
OLD | NEW |