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..4a0d1bed439667596889b4293feb5bd7da001c43 100644 |
--- a/chromeos/dbus/dbus_thread_manager.h |
+++ b/chromeos/dbus/dbus_thread_manager.h |
@@ -101,10 +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 InitializeThreadManager(); |
+ |
// 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(); |
+ static void InitializeThreadManagerWithStub(); |
+ |
+ // Initialize with stub implementations for only certain clients that are |
+ // not included in comma-separated |unstub_clients| list. |
+ static void InitializeThreadManagerWithPartialStub( |
+ const std::string& unstub_clients); |
// Returns true if DBusThreadManager has been initialized. Call this to |
// avoid initializing + shutting down DBusThreadManager more than once. |