Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 1db7320da7e4c608bbfd9ec51cfcaee4df815dee..5b6212e218cd0fe7bf5fa9eaab42cf29be6a5719 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -809,6 +809,11 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) { |
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
bool force_supervised_user_id = |
+#if defined(OS_CHROMEOS) |
+ g_browser_process->platform_part() |
+ ->profile_helper() |
+ ->GetSigninProfileDir() != profile->GetPath() && |
Mr4D (OOO till 08-26)
2015/02/17 15:46:51
You might want to add a comment that a supervised
|
+#endif |
command_line->HasSwitch(switches::kSupervisedUserId); |
if (force_supervised_user_id) { |
supervised_user_id = |