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

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

Issue 1363673004: [DRP] Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final comments Created 5 years, 2 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_service.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
index d78122f11c49ac3314f7f33fee7867095fed2189..52603a5902f8b5ae83e7e07976d29712e20f7499 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
@@ -207,7 +207,7 @@ void DataReductionProxyService::InitializeLoFiPrefs() {
prefs_->SetInteger(prefs::kLoFiImplicitOptOutEpoch,
lo_fi_implicit_opt_out_epoch);
settings_->RecordLoFiImplicitOptOutAction(LO_FI_OPT_OUT_ACTION_NEXT_EPOCH);
- } else if (!params::IsLoFiAlwaysOnViaFlags() &&
+ } else if (!params::IsLoFiOnViaFlags() &&
(prefs_->GetInteger(prefs::kLoFiConsecutiveSessionDisables) >=
lo_fi_consecutive_session_disables)) {
// If Lo-Fi isn't always on and and the number of

Powered by Google App Engine
This is Rietveld 408576698