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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 195873020: [Sync] Move SyncPrefs into sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index ba8d89e554d09a2c7005e3d3fe86cc80b7ab3183..7d93f065f872a2fb671523d02ffae3bc8680a5ee 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -175,8 +175,6 @@ NTPResourceCache::NTPResourceCache(Profile* profile)
// Watch for pref changes that cause us to need to invalidate the HTML cache.
profile_pref_change_registrar_.Init(profile_->GetPrefs());
- profile_pref_change_registrar_.Add(prefs::kSyncAcknowledgedSyncTypes,
Nicolas Zea 2014/03/14 23:47:41 this code is obsolete, see bug 352818
- callback);
profile_pref_change_registrar_.Add(prefs::kShowBookmarkBar, callback);
profile_pref_change_registrar_.Add(prefs::kNtpShownPage, callback);
profile_pref_change_registrar_.Add(prefs::kSignInPromoShowNTPBubble,

Powered by Google App Engine
This is Rietveld 408576698