Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3596)

Unified Diff: chrome/browser/sync/signin_manager.cc

Issue 7562006: Move preferences registering to backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused include. Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/autologin_infobar_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/signin_manager.cc
diff --git a/chrome/browser/sync/signin_manager.cc b/chrome/browser/sync/signin_manager.cc
index 2c06078e3242f3e58fd35b921d5c133ebed200b6..aefb8464389fe7e6b1c588c33b89e3f46a06d6a5 100644
--- a/chrome/browser/sync/signin_manager.cc
+++ b/chrome/browser/sync/signin_manager.cc
@@ -30,6 +30,9 @@ void SigninManager::RegisterUserPrefs(PrefService* user_prefs) {
user_prefs->RegisterStringPref(prefs::kGoogleServicesUsername,
"",
PrefService::UNSYNCABLE_PREF);
+ user_prefs->RegisterBooleanPref(prefs::kAutologinEnabled,
+ true,
+ PrefService::UNSYNCABLE_PREF);
}
void SigninManager::Initialize(Profile* profile) {
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/autologin_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698