| Index: chrome/browser/about_flags.cc
|
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
| index a04939e65aeeb9bf58bbbf92f42a9238ff847f12..ae0f8032421ee06c03f41857aa762ebabf8bdb6d 100644
|
| --- a/chrome/browser/about_flags.cc
|
| +++ b/chrome/browser/about_flags.cc
|
| @@ -2167,6 +2167,14 @@ const Experiment kExperiments[] = {
|
| SINGLE_VALUE_TYPE(chromeos::switches::kEnableTimeZoneTrackingOption)
|
| },
|
| #endif // defined(OS_CHROMEOS)
|
| + {
|
| + "enable-data-reduction-proxy-lo-fi",
|
| + IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_NAME,
|
| + IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION,
|
| + kOsAll,
|
| + SINGLE_VALUE_TYPE(data_reduction_proxy::switches::
|
| + kEnableDataReductionProxyLoFi)
|
| + },
|
|
|
| // NOTE: Adding new command-line switches requires adding corresponding
|
| // entries to enum "LoginCustomFlags" in histograms.xml. See note in
|
| @@ -2291,6 +2299,16 @@ bool SkipConditionalExperiment(const Experiment& experiment,
|
| chrome::VersionInfo::GetChannel() != chrome::VersionInfo::CHANNEL_DEV) {
|
| return true;
|
| }
|
| + // enable-data-reduction-proxy-lo-fi is only available for Chromium builds and
|
| + // the Canary/Dev channel.
|
| + if (!strcmp("enable-data-reduction-proxy-lo-fi", experiment.internal_name) &&
|
| + chrome::VersionInfo::GetChannel() != chrome::VersionInfo::CHANNEL_DEV &&
|
| + chrome::VersionInfo::GetChannel() !=
|
| + chrome::VersionInfo::CHANNEL_CANARY &&
|
| + chrome::VersionInfo::GetChannel() !=
|
| + chrome::VersionInfo::CHANNEL_UNKNOWN) {
|
| + return true;
|
| + }
|
| #endif
|
|
|
| return false;
|
|
|