diff options
author | jeremyim <jeremyim@chromium.org> | 2015-03-06 13:13:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-06 21:13:46 +0000 |
commit | e7677796626451ee9277a47439cf4c7fa301854b (patch) | |
tree | d118a9d8f6098c86e8bd0f2819d278fb9d553cad /components/data_reduction_proxy | |
parent | 82417f64ce69c98a93f82f59e6adda1c9c2e510c (diff) | |
download | chromium_src-e7677796626451ee9277a47439cf4c7fa301854b.zip chromium_src-e7677796626451ee9277a47439cf4c7fa301854b.tar.gz chromium_src-e7677796626451ee9277a47439cf4c7fa301854b.tar.bz2 |
Remove unused method (DataReductionProxySettings::PrimaryOrigin) from DataReductionProxySettings.
BUG=464775
Review URL: https://codereview.chromium.org/983533006
Cr-Commit-Position: refs/heads/master@{#319504}
Diffstat (limited to 'components/data_reduction_proxy')
-rw-r--r-- | components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc | 1 | ||||
-rw-r--r-- | components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc index 1f3c75c..712196b 100644 --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc @@ -85,7 +85,6 @@ void DataReductionProxySettings::UpdateConfigValues() { allowed_ = config_->allowed(); alternative_allowed_ = config_->alternative_allowed(); promo_allowed_ = config_->promo_allowed(); - primary_origin_ = config_->Origin().ToURI(); } void DataReductionProxySettings::InitDataReductionProxySettings( diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h index 5570deb..7824182 100644 --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h @@ -160,11 +160,6 @@ class DataReductionProxySettings { return promo_allowed_; } - // The data reduction proxy primary origin - const std::string PrimaryOrigin() const { - return primary_origin_; - } - DataReductionProxyService* data_reduction_proxy_service() { return data_reduction_proxy_service_.get(); } @@ -234,7 +229,6 @@ class DataReductionProxySettings { bool allowed_; bool alternative_allowed_; bool promo_allowed_; - std::string primary_origin_; BooleanPrefMember spdy_proxy_auth_enabled_; BooleanPrefMember data_reduction_proxy_alternative_enabled_; |