Index: components/data_reduction_proxy/browser/data_reduction_proxy_params.cc |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc |
index bfccd14c8b029145ed5d4f6407fa2eeadc35ce80..bdca85062c78f063f351f1e55a8c7939780359f4 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc |
@@ -66,6 +66,19 @@ bool DataReductionProxyParams::IsIncludedInCriticalPathBypassFieldTrial() { |
"DataCompressionProxyCriticalBypass") == kEnabled; |
} |
+// static |
+bool DataReductionProxyParams::IsIncludedInHoldbackFieldTrial() { |
+ return FieldTrialList::FindFullName( |
+ "DataCompressionProxyHoldback") == kEnabled; |
+} |
+ |
+// static |
+bool DataReductionProxyParams:: |
+ IsIncludedInRemoveMissingViaHeaderOtherBypassFieldTrial() { |
+ return FieldTrialList::FindFullName( |
+ "DataReductionProxyRemoveMissingViaHeaderOtherBypass") == kEnabled; |
+} |
+ |
DataReductionProxyTypeInfo::DataReductionProxyTypeInfo() |
: proxy_servers(), |
is_fallback(false), |
@@ -76,11 +89,6 @@ DataReductionProxyTypeInfo::DataReductionProxyTypeInfo() |
DataReductionProxyTypeInfo::~DataReductionProxyTypeInfo(){ |
} |
-bool DataReductionProxyParams::IsIncludedInHoldbackFieldTrial() { |
- return FieldTrialList::FindFullName( |
- "DataCompressionProxyHoldback") == kEnabled; |
-} |
- |
DataReductionProxyParams::DataReductionProxyParams(int flags) |
: allowed_((flags & kAllowed) == kAllowed), |
fallback_allowed_((flags & kFallbackAllowed) == kFallbackAllowed), |