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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc

Issue 2902003002: Remove unused Lite Page fallback code (Closed)
Patch Set: rebase Created 3 years, 7 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/common/data_reduction_proxy_params.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
index f0a2d3d0831edd8b469de68a7fecd60dd902afb3..cd88474adfb0c9185388eacd3cd53f5c673518a4 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
@@ -41,8 +41,6 @@ const char kAndroidOneIdentifier[] = "sprout";
const char kQuicFieldTrial[] = "DataReductionProxyUseQuic";
const char kLoFiFieldTrial[] = "DataCompressionProxyLoFi";
-const char kLitePageFallbackFieldTrial[] =
- "DataCompressionProxyLitePageFallback";
const char kLoFiFlagFieldTrial[] = "DataCompressionProxyLoFiFlag";
const char kBlackListTransitionFieldTrial[] =
@@ -112,10 +110,6 @@ const char* GetLoFiFieldTrialName() {
return kLoFiFieldTrial;
}
-const char* GetLitePageFallbackFieldTrialName() {
- return kLitePageFallbackFieldTrial;
-}
-
const char* GetLoFiFlagFieldTrialName() {
return kLoFiFlagFieldTrial;
}
@@ -137,11 +131,6 @@ bool IsIncludedInLitePageFieldTrial() {
kLitePage, base::CompareCase::SENSITIVE);
}
-bool IsLitePageFallbackEnabled() {
- return IsIncludedInFieldTrial(GetLitePageFallbackFieldTrialName()) ||
- (IsLoFiOnViaFlags() && AreLitePagesEnabledViaFlags());
-}
-
bool IsIncludedInServerExperimentsFieldTrial() {
return !base::CommandLine::ForCurrentProcess()->HasSwitch(
data_reduction_proxy::switches::
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_params.h ('k') | tools/chrome_proxy/webdriver/lite_page.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698