Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 20cb9d5d2b6f0975a101f129eff1cbe358c3098b..b0dd61d12e3267c7eb17516810041f58207d3a54 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -794,6 +794,11 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) { |
profile->GetPrefs()->SetString(prefs::kSupervisedUserId, |
supervised_user_id); |
} |
+ |
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
+ if (switches::IsNewProfileManagement()) |
+ profiles::UpdateIsProfileLockEnabledIfNeeded(profile); |
noms (inactive)
2014/09/15 18:52:40
Hmm, this worries me a little because it looks lik
Mike Lerman
2014/09/15 19:51:41
Only happens if the algorithm version changes. Com
|
+#endif |
} |
void ProfileManager::RegisterTestingProfile(Profile* profile, |