Chromium Code Reviews| 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 743c844b0acf7c59a37c6d1bd41f2db2c25028d3..8aa79b75c48f45a291b94854c68419eb981edf70 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 |
| @@ -87,6 +87,16 @@ bool DataReductionProxyParams:: |
| "DataReductionProxyRemoveMissingViaHeaderOtherBypass") == kEnabled; |
| } |
| +// static |
| +bool DataReductionProxyParams::IsIncludedInBypassWarningTrial() { |
|
bengr
2014/12/29 18:45:42
This name is misleading because there's no actual
megjablon
2014/12/30 23:40:01
Done.
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch( |
| + data_reduction_proxy::switches:: |
| + kEnableDataReductionProxyBypassWarning)) { |
| + return true; |
| + } |
| + return false; |
| +} |
| + |
| DataReductionProxyTypeInfo::DataReductionProxyTypeInfo() |
| : proxy_servers(), |
| is_fallback(false), |