Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index a8728bd1fa722984e90b2c29ed24caf69dcb7af0..2d3d8afcdb2920f002328f05f56c097c44c2f8b2 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -2119,6 +2119,15 @@ const Experiment kExperiments[] = { |
kOsDesktop, |
SINGLE_VALUE_TYPE(switches::kEnableDelayAgnosticAec) |
}, |
+ { |
+ "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 |
@@ -2243,6 +2252,11 @@ bool SkipConditionalExperiment(const Experiment& experiment, |
chrome::VersionInfo::GetChannel() != chrome::VersionInfo::CHANNEL_DEV) { |
return true; |
} |
+ // enable-data-reduction-proxy-lo-fi is only available for the Dev channel. |
+ if (!strcmp("enable-data-reduction-proxy-lo-fi", experiment.internal_name) && |
+ chrome::VersionInfo::GetChannel() != chrome::VersionInfo::CHANNEL_DEV) { |
+ return true; |
+ } |
#endif |
return false; |