Index: chrome/browser/profiles/profile_manager.cc |
=================================================================== |
--- chrome/browser/profiles/profile_manager.cc (revision 125184) |
+++ chrome/browser/profiles/profile_manager.cc (working copy) |
@@ -716,6 +716,7 @@ |
prefs->RegisterStringPref(prefs::kProfileLastUsed, ""); |
prefs->RegisterIntegerPref(prefs::kProfilesNumCreated, 1); |
prefs->RegisterListPref(prefs::kProfilesLastActive); |
+ prefs->RegisterBooleanPref(prefs::kInManagedMode, false); |
} |
size_t ProfileManager::GetNumberOfProfiles() { |
@@ -919,7 +920,7 @@ |
void ProfileManager::RegisterTestingProfile(Profile* profile, |
bool add_to_cache) { |
RegisterProfile(profile, true); |
- if (add_to_cache){ |
+ if (add_to_cache) { |
InitProfileUserPrefs(profile); |
AddProfileToCache(profile); |
} |