Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: chrome/browser/about_flags.cc

Issue 2887423002: Add an about:flag to support alternative data saver features (Closed)
Patch Set: tbansal nits Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | chrome/browser/flag_descriptions.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 19a4740c5957634ca099e9a71223a39f073889dc..58aae81b06f8aa60d1232f8db1ff2eec7c6f8cab 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -253,6 +253,12 @@ const FeatureEntry::Choice kDataReductionProxyLoFiChoices[] = {
data_reduction_proxy::switches::
kDataReductionProxyLoFiValueSlowConnectionsOnly}};
+const FeatureEntry::Choice kDataReductionProxyServerExperiment[] = {
+ {flags_ui::kGenericExperimentChoiceDefault, "", ""},
+ {flag_descriptions::kDataReductionProxyServerAlternative,
+ data_reduction_proxy::switches::kDataReductionProxyExperiment,
+ data_reduction_proxy::switches::kDataReductionProxyServerAlternative}};
+
const FeatureEntry::Choice kShowSavedCopyChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kEnableShowSavedCopyPrimary,
@@ -1892,6 +1898,10 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kEnableDataReductionProxyLitePageDescription, kOsAll,
SINGLE_VALUE_TYPE(
data_reduction_proxy::switches::kEnableDataReductionProxyLitePage)},
+ {"enable-data-reduction-proxy-server-experiment",
+ flag_descriptions::kEnableDataReductionProxyServerExperimentName,
+ flag_descriptions::kEnableDataReductionProxyServerExperimentDescription,
+ kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)},
#if defined(OS_ANDROID)
{"enable-data-reduction-proxy-savings-promo",
flag_descriptions::kEnableDataReductionProxySavingsPromoName,
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | chrome/browser/flag_descriptions.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698