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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.cc

Issue 1096833003: Convert PrefSyncStatus into PrefRegistrationFlags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/prefs/prefs_tab_helper.cc
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
index 68dc7618b776d636189c317f6105bf8114ecf8a7..e32e65f64f23662517db56482b87e9e191ad9007 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
@@ -325,16 +325,15 @@ void OverrideFontFamily(WebPreferences* prefs,
(*map)[script] = base::UTF8ToUTF16(pref_value);
}
-void RegisterLocalizedFontPref(
- user_prefs::PrefRegistrySyncable* registry,
- const char* path,
- int default_message_id,
- user_prefs::PrefRegistrySyncable::PrefSyncStatus status) {
+void RegisterLocalizedFontPref(user_prefs::PrefRegistrySyncable* registry,
+ const char* path,
+ int default_message_id,
+ uint32 flags) {
int val = 0;
bool success = base::StringToInt(l10n_util::GetStringUTF8(
default_message_id), &val);
DCHECK(success);
- registry->RegisterIntegerPref(path, val, status);
+ registry->RegisterIntegerPref(path, val, flags);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698