| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc
|
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc
|
| index cecb13740e080fdf06716ea6c1eb00253f23eecf..dc65c52936346ef05d97ec9a3e92add96df2feca 100644
|
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc
|
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc
|
| @@ -40,20 +40,22 @@ const char kDataReductionProxyKey[] = "spdy-proxy-auth-value";
|
|
|
| // The mode for Data Reduction Proxy Lo-Fi. The various modes are always-on,
|
| // cellular-only, slow connections only and disabled.
|
| const char kDataReductionProxyLoFi[] = "data-reduction-proxy-lo-fi";
|
| const char kDataReductionProxyLoFiValueAlwaysOn[] = "always-on";
|
| const char kDataReductionProxyLoFiValueCellularOnly[] = "cellular-only";
|
| const char kDataReductionProxyLoFiValueDisabled[] = "disabled";
|
| const char kDataReductionProxyLoFiValueSlowConnectionsOnly[] =
|
| "slow-connections-only";
|
|
|
| +const char kDataReductionPingbackURL[] = "data-reduction-proxy-pingback-url";
|
| +
|
| // Sets a secure proxy check URL to test before committing to using the Data
|
| // Reduction Proxy. Note this check does not go through the Data Reduction
|
| // Proxy.
|
| const char kDataReductionProxySecureProxyCheckURL[] =
|
| "data-reduction-proxy-secure-proxy-check-url";
|
|
|
| // Disables server experiments that may be enabled through field trial.
|
| const char kDataReductionProxyServerExperimentsDisabled[] =
|
| "data-reduction-proxy-server-experiments-disabled";
|
|
|
| @@ -76,12 +78,16 @@ const char kEnableDataReductionProxyBypassWarning[] =
|
| // Enables the origin of the carrier test data reduction proxy.
|
| const char kEnableDataReductionProxyCarrierTest[] =
|
| "enable-data-reduction-proxy-carrier-test";
|
|
|
| // Enables preview mode for Lo-Fi. This means a preview should be requested
|
| // instead of placeholders whenever Lo-Fi mode is on. Lo-Fi must also be enabled
|
| // via a flag or field trial.
|
| const char kEnableDataReductionProxyLoFiPreview[] =
|
| "enable-data-reduction-proxy-lo-fi-preview";
|
|
|
| +// Enables sending a pageload metrics pingback after every page load.
|
| +const char kEnableDataReductionProxyForcePingback[] =
|
| + "enable-data-reduction-proxy-force-pingback";
|
| +
|
| } // namespace switches
|
| } // namespace data_reduction_proxy
|
|
|