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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 7566026: Sync Promo: Remember promo expanded state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 9 years, 4 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 | « no previous file | chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 2867fcfa2bfd5a7d724c2ea0080cd987a98e6eee..f83cbd7d664383d6c3e3eb64731787cff255e0d4 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -188,6 +188,10 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
"",
PrefService::UNSYNCABLE_PREF);
#endif
+
+ prefs->RegisterBooleanPref(prefs::kSyncPromoExpanded,
+ true,
+ PrefService::UNSYNCABLE_PREF);
}
// static
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698