Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: chromeos/dbus/dbus_thread_manager.h

Issue 181413006: Replace misc. network stub flags with more flexible ones (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/dbus_thread_manager.h
diff --git a/chromeos/dbus/dbus_thread_manager.h b/chromeos/dbus/dbus_thread_manager.h
index c36ddc3dfe87cc28470a83afd4b3cd2561cb852f..513a59fe7ec3e994f20e42b179c8c0c41c4e5279 100644
--- a/chromeos/dbus/dbus_thread_manager.h
+++ b/chromeos/dbus/dbus_thread_manager.h
@@ -94,10 +94,12 @@ class CHROMEOS_EXPORT DBusThreadManager {
// Similar to Initialize(), but injects an alternative
// DBusThreadManager using SetInstanceForTest first. The injected
// object will be owned by the internal pointer and deleted by
- // Shutdown().
+ // Shutdown(). Does not create any Fake client implementations.
static void InitializeForTesting(DBusThreadManager* dbus_thread_manager);
- // Initialize with stub implementations for tests based on stubs.
+ // 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();
// Returns true if DBusThreadManager has been initialized. Call this to
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698