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

Unified Diff: content/browser/host_zoom_map.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix. And rebase Created 9 years, 7 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/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/host_zoom_map.cc
diff --git a/content/browser/host_zoom_map.cc b/content/browser/host_zoom_map.cc
index 98ebc1c32ba02c2d41994a00cabc6d677a5a95fe..441473c6bac5050076c47eb64762f7774fee2a45 100644
--- a/content/browser/host_zoom_map.cc
+++ b/content/browser/host_zoom_map.cc
@@ -72,8 +72,11 @@ void HostZoomMap::Load() {
// static
void HostZoomMap::RegisterUserPrefs(PrefService* prefs) {
- prefs->RegisterDoublePref(prefs::kDefaultZoomLevel, 0.0);
- prefs->RegisterDictionaryPref(prefs::kPerHostZoomLevels);
+ prefs->RegisterDoublePref(prefs::kDefaultZoomLevel,
+ 0.0,
+ PrefService::UNSYNCABLE_PREF);
+ prefs->RegisterDictionaryPref(prefs::kPerHostZoomLevels,
+ PrefService::UNSYNCABLE_PREF);
}
double HostZoomMap::GetZoomLevel(const GURL& url) const {
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698