summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/dbus_thread_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/dbus_thread_manager.h')
-rw-r--r--chromeos/dbus/dbus_thread_manager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromeos/dbus/dbus_thread_manager.h b/chromeos/dbus/dbus_thread_manager.h
index 742bb09..fa7b108 100644
--- a/chromeos/dbus/dbus_thread_manager.h
+++ b/chromeos/dbus/dbus_thread_manager.h
@@ -72,9 +72,12 @@ class CHROMEOS_EXPORT DBusThreadManager {
// Similar to Initialize(), but can inject an alternative
// DBusThreadManager such as MockDBusThreadManager for testing.
// The injected object will be owned by the internal pointer and deleted
- // by Shutdown(). If NULL, a stub implementation will be constructed.
+ // by Shutdown().
static void InitializeForTesting(DBusThreadManager* dbus_thread_manager);
+ // Initialize with stub implementations for tests based on stubs.
+ static void InitializeWithStub();
+
// Destroys the global instance.
static void Shutdown();