Chromium Code Reviews| Index: chromeos/dbus/dbus_thread_manager.h |
| diff --git a/chromeos/dbus/dbus_thread_manager.h b/chromeos/dbus/dbus_thread_manager.h |
| index f225a5e14ca74b3c1ad78b3df97b688de0865bbd..760c81251b0aab76f84349f5ac0ecf7f3e6044c8 100644 |
| --- a/chromeos/dbus/dbus_thread_manager.h |
| +++ b/chromeos/dbus/dbus_thread_manager.h |
| @@ -101,11 +101,18 @@ class CHROMEOS_EXPORT DBusThreadManager { |
| // Shutdown(). Does not create any Fake client implementations. |
| static void InitializeForTesting(DBusThreadManager* dbus_thread_manager); |
| + // Initialize global thread manager instance. |
| + static void InitializeRegular(); |
|
hashimoto
2014/08/08 02:06:16
Do InitilizeRegular() and InitializeWithPartialStu
zel
2014/08/08 19:00:15
Done.
|
| + |
| // Initialize with stub implementations for tests, creating a complete set |
| // of fake/stub client implementations. Also initializes a default set of |
| // fake Shill devices and services, customizable with switches::kShillStub. |
| static void InitializeWithStub(); |
| + // Initialize with stub implementations for only certain clients that are |
| + // not included in comma-separated |unstub_clients| list. |
| + static void InitializeWithPartialStub(const std::string& unstub_clients); |
| + |
| // Returns true if DBusThreadManager has been initialized. Call this to |
| // avoid initializing + shutting down DBusThreadManager more than once. |
| static bool IsInitialized(); |