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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.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_settings.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
index fbfc0e91c34671552bdd01a0295ba8a103d10674..4ba480565573ec72aab77c9d47c25136087e5098 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
@@ -186,10 +186,9 @@ void DataReductionProxySettings::SetLoFiLoadImageRequested() {
lo_fi_load_image_requested_ = true;
}
-void DataReductionProxySettings::IncrementLoFiSnackbarShown() {
- prefs_->SetInteger(
- prefs::kLoFiSnackbarsShownPerSession,
- prefs_->GetInteger(prefs::kLoFiSnackbarsShownPerSession) + 1);
+void DataReductionProxySettings::IncrementLoFiUIShown() {
+ prefs_->SetInteger(prefs::kLoFiUIShownPerSession,
+ prefs_->GetInteger(prefs::kLoFiUIShownPerSession) + 1);
}
void DataReductionProxySettings::IncrementLoFiUserRequestsForImages() {

Powered by Google App Engine
This is Rietveld 408576698