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

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

Issue 2802463002: Adds feature flag for chrome-proxy-ect header (default off) (Closed)
Patch Set: Tweaked the name of the Feature to be more Feature like than Switch like. Created 3 years, 8 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 8e7e96ee4b7ffb96bb2de32924aa668ff6543615..9d385b7f23a4b8d7e5b822be406a6c4640771a53 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
@@ -12,5 +12,14 @@ namespace features {
const base::Feature kDataReductionMainMenu{"DataReductionProxyMainMenu",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables sending the Effective Connection Type header to the Data Reduction
+// Proxy.
+const base::Feature kDataReductionProxyECTHeader{
+ "DataReductionProxyECTHeader", base::FEATURE_DISABLED_BY_DEFAULT};
+
+bool IsDataReductionProxyECTHeaderEnabled() {
+ return base::FeatureList::IsEnabled(kDataReductionProxyECTHeader);
+}
+
} // 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