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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 240333011: Always load signin profile on Chrome OS startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Next iteration. Created 6 years, 7 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 9e25b1da6fc2a62e0f0631b42bdd39c25148c619..13a6a64bf38a0689e8a6fecbec110a3986ff50cb 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -781,6 +781,10 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) {
CommandLine* command_line = CommandLine::ForCurrentProcess();
bool force_managed_user_id =
+#if defined(OS_CHROMEOS)
+ g_browser_process->platform_part()->
+ profile_helper()->GetSigninProfileDir() != profile->GetPath() &&
+#endif
command_line->HasSwitch(switches::kManagedUserId);
if (force_managed_user_id) {
managed_user_id =
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698