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

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

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: tbansal comments 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 4ba480565573ec72aab77c9d47c25136087e5098..9114b69ae8e7d32fa4e63c672295c7d6f05e0667 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
@@ -174,8 +174,8 @@ void DataReductionProxySettings::SetLoFiModeActiveOnMainFrame(
}
bool DataReductionProxySettings::WasLoFiModeActiveOnMainFrame() const {
- return lo_fi_mode_active_ && !params::AreLoFiPreviewsEnabledViaFlags() &&
- !params::IsIncludedInLoFiPreviewFieldTrial();
+ return lo_fi_mode_active_ && !params::AreLitePagesEnabledViaFlags() &&
+ !params::IsIncludedInLitePageFieldTrial();
}
bool DataReductionProxySettings::WasLoFiLoadImageRequestedBefore() {

Powered by Google App Engine
This is Rietveld 408576698