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

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

Issue 2889993004: New CPAT support in DataReductionProxyConfig guarded by feature flag. (Closed)
Patch Set: Updates new code path to accept LoFi when LitePages enabled (to allow fallback) 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
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_features.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_features.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_features.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_features.cc
index fd4f3f60cca2f55e91c04d8d235687f79d8d032b..f2547d745698270b65e7e34980f32e49a0bb036e 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_features.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_features.cc
@@ -15,5 +15,12 @@ const base::Feature kDataReductionMainMenu{"DataReductionProxyMainMenu",
const base::Feature kDataReductionSiteBreakdown{
"DataReductionProxySiteBreakdown", base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables a new version of the data reduction proxy protocol where the server
+// decides if a server-generated preview should be served. The previous
+// version required the client to make this decision. The new protocol relies
+// on updates primarily to the Chrome-Proxy-Accept-Transform header.
+const base::Feature kDataReductionProxyDecidesTransform{
+ "DataReductionProxyDecidesTransform", base::FEATURE_DISABLED_BY_DEFAULT};
+
} // namespace features
} // namespace data_reduction_proxy
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698