Chromium Code Reviews| 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 a1df40adbb5e23dc95de5ff88505dd7582699c7c..bd0ccc74ff789588cb20496e9e7c55b0dd4c6d86 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 |
| @@ -68,20 +68,24 @@ bool IsIncludedInLoFiEnabledFieldTrial(); |
| bool IsIncludedInLoFiControlFieldTrial(); |
| // Returns true if this client is part of the "Preview" group of the Lo-Fi field |
| // trial. |
| bool IsIncludedInLoFiPreviewFieldTrial(); |
| // Returns true if this client is part of the field trial that should enable |
| // server experiments for the data reduction proxy. |
| bool IsIncludedInServerExperimentsFieldTrial(); |
| +// Returns true if this client is part of the field trial that should enable |
| +// offline pages for prohibitvely slow networks. |
| +bool IsIncludedInOfflinePagesSlowConnectionFieldTrial(); |
|
tbansal1
2016/07/25 21:35:26
This should not be in DRP (Offline can be enabled
RyanSturm
2016/07/26 19:48:11
Done.
|
| + |
| // Returns true if this client is part of the tamper detection experiment. |
| bool IsIncludedInTamperDetectionExperiment(); |
| // Returns true if this client has any of the values to enable Lo-Fi mode for |
| // the "data-reduction-proxy-lo-fi" command line switch. This includes the |
| // "always-on", "cellular-only", and "slow-connections-only" values. |
| bool IsLoFiOnViaFlags(); |
| // Returns true if this client has the command line switch to enable Lo-Fi |
| // mode always on. |