From e7677796626451ee9277a47439cf4c7fa301854b Mon Sep 17 00:00:00 2001 From: jeremyim <jeremyim@chromium.org> Date: Fri, 6 Mar 2015 13:13:07 -0800 Subject: Remove unused method (DataReductionProxySettings::PrimaryOrigin) from DataReductionProxySettings. BUG=464775 Review URL: https://codereview.chromium.org/983533006 Cr-Commit-Position: refs/heads/master@{#319504} --- .../core/browser/data_reduction_proxy_settings.cc | 1 - .../core/browser/data_reduction_proxy_settings.h | 6 ------ 2 files changed, 7 deletions(-) (limited to 'components/data_reduction_proxy') 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_; -- cgit v1.1