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 ac08fb10e9dd25abf5e23f677714624275d659ce..f4f21e165a6763a8f29cc742d94abb2dfc07f82b 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 |
@@ -250,6 +250,14 @@ bool IsZeroRttQuicEnabled() { |
params, "enable_zero_rtt", "false") == "true"; |
} |
+bool IsQuicForNonCoreProxiesEnabled() { |
+ DCHECK(IsIncludedInQuicFieldTrial()); |
+ std::map<std::string, std::string> params; |
+ variations::GetVariationParams(GetQuicFieldTrialName(), ¶ms); |
+ return GetStringValueForVariationParamWithDefaultValue( |
+ params, "enable_quic_non_core_proxies", "false") == "true"; |
+} |
+ |
bool IsBrotliAcceptEncodingEnabled() { |
// Brotli encoding is enabled by default since the data reduction proxy server |
// controls when to serve Brotli encoded content. It can be disabled in |