| 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 MTPDClient; |
| 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 MTPD client, owned by DBusThreadManager. |
| 204 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 205 // down. |
| 206 virtual MTPDClient* GetMTPDClient() = 0; |
| 207 |
| 202 // Returns the Modem Messaging client, owned by DBusThreadManager. | 208 // Returns the Modem Messaging client, owned by DBusThreadManager. |
| 203 // Do not cache this pointer and use it after DBusThreadManager is shut | 209 // Do not cache this pointer and use it after DBusThreadManager is shut |
| 204 // down. | 210 // down. |
| 205 virtual ModemMessagingClient* GetModemMessagingClient() = 0; | 211 virtual ModemMessagingClient* GetModemMessagingClient() = 0; |
| 206 | 212 |
| 207 // Returns the power manager client, owned by DBusThreadManager. | 213 // Returns the power manager client, owned by DBusThreadManager. |
| 208 // See also comments at session_manager_client(). | 214 // See also comments at session_manager_client(). |
| 209 virtual PowerManagerClient* GetPowerManagerClient() = 0; | 215 virtual PowerManagerClient* GetPowerManagerClient() = 0; |
| 210 | 216 |
| 211 // Returns the session manager client, owned by DBusThreadManager. | 217 // Returns the session manager client, owned by DBusThreadManager. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 257 |
| 252 protected: | 258 protected: |
| 253 DBusThreadManager(); | 259 DBusThreadManager(); |
| 254 | 260 |
| 255 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); | 261 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); |
| 256 }; | 262 }; |
| 257 | 263 |
| 258 } // namespace chromeos | 264 } // namespace chromeos |
| 259 | 265 |
| 260 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ | 266 #endif // CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ |
| OLD | NEW |