Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
index cba1871e8c5e9b02f7f0c3e37d6abdaf021ddba6..05f0e5bae3fb2f2b17f3da78bd7e58ed609031c0 100644 |
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h |
@@ -86,6 +86,13 @@ class DataReductionProxyParams { |
// the data reduction proxy via header is missing. |
static bool IsIncludedInRemoveMissingViaHeaderOtherBypassFieldTrial(); |
+ // Returns true if this client is part of a field trial that relaxes the |
+ // |MISSING_VIA_HEADER_OTHER| proxy bypass case. In this experiment, if a |
+ // response with a data reduction proxy via header has been received through |
+ // the proxy since the last network change, then don't bypass on missing via |
+ // headers in responses with non-4xx response codes. |
+ static bool IsIncludedInRelaxMissingViaHeaderOtherBypassFieldTrial(); |
+ |
// Returns true if this client is part of the field trial that should display |
// a promotion for the data reduction proxy on Android One devices. |
static bool IsIncludedInAndroidOnePromoFieldTrial( |