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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc

Issue 2626963003: Remove kAllowed and kFallbackAllowed from data reduction proxy (Closed)
Patch Set: Addressed nits Created 3 years, 11 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
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
index fed1729d659ff36fe703e82111d3ddcb9a9e84b8..905160c4899adb25d5a22a2025f7dab3aa21a5d9 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
@@ -18,8 +18,6 @@ DataReductionProxyMutableConfigValues::CreateFromParams(
new DataReductionProxyMutableConfigValues());
config_values->promo_allowed_ = params->promo_allowed();
config_values->holdback_ = params->holdback();
- config_values->allowed_ = params->allowed();
- config_values->fallback_allowed_ = params->fallback_allowed();
config_values->secure_proxy_check_url_ = params->secure_proxy_check_url();
return config_values;
}
@@ -27,8 +25,6 @@ DataReductionProxyMutableConfigValues::CreateFromParams(
DataReductionProxyMutableConfigValues::DataReductionProxyMutableConfigValues()
: promo_allowed_(false),
holdback_(false),
- allowed_(false),
- fallback_allowed_(false),
use_override_proxies_for_http_(false) {
use_override_proxies_for_http_ =
params::GetOverrideProxiesForHttpFromCommandLine(
@@ -50,14 +46,6 @@ bool DataReductionProxyMutableConfigValues::holdback() const {
return holdback_;
}
-bool DataReductionProxyMutableConfigValues::allowed() const {
- return allowed_;
-}
-
-bool DataReductionProxyMutableConfigValues::fallback_allowed() const {
- return fallback_allowed_;
-}
-
const std::vector<DataReductionProxyServer>
DataReductionProxyMutableConfigValues::proxies_for_http() const {
DCHECK(thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698