| 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 d9a82a7c4cb046aea9bbb09409e66ce673ea84c5..57d4affe96cd4e189476dd65c81e518250a2282e 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
|
| @@ -96,33 +96,41 @@ bool IsLoFiSlowConnectionsOnlyViaFlags();
|
|
|
| // Returns true if this client has the command line switch to disable Lo-Fi
|
| // mode.
|
| bool IsLoFiDisabledViaFlags();
|
|
|
| // Returns true if this client has the command line switch to enable Lo-Fi
|
| // previews. This means a preview should be requested instead of placeholders
|
| // whenever Lo-Fi mode is on.
|
| bool AreLoFiPreviewsEnabledViaFlags();
|
|
|
| +// Returns true if this client has the command line switch to enable forced
|
| +// pageload metrics pingbacks on every page load.
|
| +bool IsForcePingbackEnabledViaFlags();
|
| +
|
| // Returns true if this client has the command line switch to show
|
| // interstitials for data reduction proxy bypasses.
|
| bool WarnIfNoDataReductionProxy();
|
|
|
| // Returns true if this client is part of a field trial that sets the origin
|
| // proxy server as quic://proxy.googlezip.net.
|
| bool IsIncludedInQuicFieldTrial();
|
|
|
| const char* GetQuicFieldTrialName();
|
|
|
| // Returns true if the Data Reduction Proxy config client should be used.
|
| bool IsConfigClientEnabled();
|
|
|
| +// If the Data Reduction Proxy is used for a page load, the URL for the
|
| +// Data Reduction Proxy Pageload Metrics service.
|
| +GURL GetPingbackURL();
|
| +
|
| // If the Data Reduction Proxy config client is being used, the URL for the
|
| // Data Reduction Proxy config service.
|
| GURL GetConfigServiceURL();
|
|
|
| // Returns true if the Data Reduction Proxy is forced to be enabled from the
|
| // command line.
|
| bool ShouldForceEnableDataReductionProxy();
|
|
|
| // Returns true if the secure Data Reduction Proxy should be used until the
|
| // secure proxy check fails.
|
|
|