Index: chrome/browser/profiles/profiles_state.cc |
diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc |
index 03fa429d80955faee1955633cabad9595b3f34c4..068ddff1a6900fd5b2c3545adc939ed8c9e61c54 100644 |
--- a/chrome/browser/profiles/profiles_state.cc |
+++ b/chrome/browser/profiles/profiles_state.cc |
@@ -41,9 +41,14 @@ base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir) { |
} |
void RegisterPrefs(PrefRegistrySimple* registry) { |
+ // Preferences about global profile information. |
registry->RegisterStringPref(prefs::kProfileLastUsed, std::string()); |
registry->RegisterIntegerPref(prefs::kProfilesNumCreated, 1); |
registry->RegisterListPref(prefs::kProfilesLastActive); |
+ |
+ // Preferences about the user manager. |
+ registry->RegisterBooleanPref(prefs::kBrowserGuestModeEnabled, true); |
+ registry->RegisterBooleanPref(prefs::kBrowserAddPersonEnabled, true); |
} |
base::string16 GetAvatarNameForProfile(const base::FilePath& profile_path) { |