Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index 6855a0c9e58cfb02def98ca5ddebc8f6e9bf73b7..7b4244c48307ab5cc42bf55c4f368ec8cc7e8ae8 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -2149,6 +2149,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) |
+ }, |
+ |
{ |
"mark-non-secure-as", // FLAGS:RECORD_UMA |
@@ -2281,6 +2290,15 @@ 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 && |
+ chrome::VersionInfo::GetChannel() != |
+ chrome::VersionInfo::CHANNEL_CANARY && |
+ chrome::VersionInfo::GetChannel() != |
+ chrome::VersionInfo::CHANNEL_UNKNOWN) { |
+ return true; |
+ } |
#endif |
return false; |