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

Unified Diff: chrome/browser/profiles/profile_manager.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: Further test fixes. Created 8 years, 6 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
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 7855e32ac46e39eea8f774893fab678ddb8bd90c..211f89c1ae81e994a4d3ab7541d8fdcf1e73d8ed 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -164,6 +164,13 @@ void OnOpenWindowForNewProfile(Profile* profile,
} // namespace
+// static
+#if defined(OS_CHROMEOS)
+const char ProfileManager::kTestUserProfile[] = "test-user";
+#else
+const char ProfileManager::kTestUserProfile[] = "Default";
+#endif
+
#if defined(ENABLE_SESSION_SERVICE)
// static
void ProfileManager::ShutdownSessionServices() {

Powered by Google App Engine
This is Rietveld 408576698