Chromium Code Reviews| 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..6ccdb78a1e30b3b5972ef900756cc840d5cc9ae6 100644 |
| --- a/chrome/browser/profiles/profile_manager.cc |
| +++ b/chrome/browser/profiles/profile_manager.cc |
| @@ -794,6 +794,9 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) { |
| profile->GetPrefs()->SetString(prefs::kSupervisedUserId, |
| supervised_user_id); |
| } |
| + |
| + if (switches::IsNewProfileManagement()) |
|
noms (inactive)
2014/09/12 19:33:25
This will get triggered on more platforms than des
Mike Lerman
2014/09/15 14:08:55
Excellent point. added OS ifdefs.
|
| + profiles::UpdateIsProfileLockEnabledIfNeeded(profile); |
| } |
| void ProfileManager::RegisterTestingProfile(Profile* profile, |