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

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: missed comments Created 4 years, 4 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 ea2a3f4a8faff37e2b1b914a60bdf5575e6d434d..a8eb338f81d4a0ecf05141bed5b38347ab67dc5c 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