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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 10590004: [cros] Fake a stub user login when no --login-manager and --login-user are given. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 years, 5 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 | « chrome/test/base/testing_profile.h ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index f55347f6b56d2cadbddf95cdc90cf724dbb63692..2431224771c80f0de1723ad89655c22125378f6f 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -143,6 +143,15 @@ ProfileKeyedService* CreateTestDesktopNotificationService(Profile* profile) {
} // namespace
+// static
+#if defined(OS_CHROMEOS)
+// Must be kept in sync with
+// ChromeBrowserMainPartsChromeos::PreEarlyInitialization.
+const char TestingProfile::kTestUserProfileDir[] = "test-user";
+#else
+const char TestingProfile::kTestUserProfileDir[] = "Default";
+#endif
+
TestingProfile::TestingProfile()
: start_time_(Time::Now()),
testing_prefs_(NULL),
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698