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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc

Issue 2250223002: Add InfoBar delegate for previews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
index f9e43a2d35095d2e5756b78c425fef464d09f548..167322ef7e541aa131038b48d050cb63cc7cb7e5 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
@@ -101,7 +101,7 @@ void RegisterSyncableProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterInt64Pref(prefs::kDailyHttpContentLengthLastUpdateDate, 0L);
registry->RegisterIntegerPref(prefs::kLoFiImplicitOptOutEpoch, 0);
- registry->RegisterIntegerPref(prefs::kLoFiSnackbarsShownPerSession, 0);
+ registry->RegisterIntegerPref(prefs::kLoFiUIShownPerSession, 0);
registry->RegisterIntegerPref(prefs::kLoFiLoadImagesPerSession, 0);
registry->RegisterIntegerPref(prefs::kLoFiConsecutiveSessionDisables, 0);
registry->RegisterBooleanPref(prefs::kLoFiWasUsedThisSession, false);
@@ -186,7 +186,7 @@ void RegisterPrefs(PrefRegistrySimple* registry) {
registry->RegisterInt64Pref(
prefs::kDailyHttpContentLengthLastUpdateDate, 0L);
registry->RegisterIntegerPref(prefs::kLoFiImplicitOptOutEpoch, 0);
- registry->RegisterIntegerPref(prefs::kLoFiSnackbarsShownPerSession, 0);
+ registry->RegisterIntegerPref(prefs::kLoFiUIShownPerSession, 0);
registry->RegisterIntegerPref(prefs::kLoFiLoadImagesPerSession, 0);
registry->RegisterIntegerPref(prefs::kLoFiConsecutiveSessionDisables, 0);
registry->RegisterBooleanPref(prefs::kLoFiWasUsedThisSession, false);

Powered by Google App Engine
This is Rietveld 408576698