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

Unified Diff: chrome/browser/about_flags.cc

Issue 1839783002: Revert of Enable DRP config service by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | components/data_reduction_proxy/core/common/data_reduction_proxy_params.h » ('j') | no next file with comments »
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 b6a45b66b74d3f1083603aa4c7128f60cf746fb5..7691beb1d656137a7a121bd9aa7824236a71cd44 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1470,6 +1470,11 @@
IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_DESCRIPTION, kOsAll,
SINGLE_VALUE_TYPE(
data_reduction_proxy::switches::kClearDataReductionProxyDataSavings)},
+ {"enable-data-reduction-proxy-config-client",
+ IDS_FLAGS_DATA_REDUCTION_PROXY_CONFIG_CLIENT_NAME,
+ IDS_FLAGS_DATA_REDUCTION_PROXY_CONFIG_CLIENT_DESCRIPTION, kOsAll,
+ SINGLE_VALUE_TYPE(data_reduction_proxy::switches::
+ kEnableDataReductionProxyConfigClient)},
{"allow-insecure-localhost", IDS_ALLOW_INSECURE_LOCALHOST,
IDS_ALLOW_INSECURE_LOCALHOST_DESCRIPTION, kOsAll,
SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},
@@ -1903,6 +1908,16 @@
return true;
}
+ // enable-data-reduction-proxy-config-client is only available for Chromium
+ // builds and the Canary/Dev channels.
+ if (!strcmp("enable-data-reduction-proxy-config-client",
+ entry.internal_name) &&
+ channel != version_info::Channel::DEV &&
+ channel != version_info::Channel::CANARY &&
+ channel != version_info::Channel::UNKNOWN) {
+ return true;
+ }
+
return false;
}
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/common/data_reduction_proxy_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698