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

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

Issue 2922663002: Data Reduction Proxy: Remove duplicate functions (Closed)
Patch Set: ps 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
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
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 b07e7dd8c8bbdafba501863d38e0ea58852e0d19..3546231180a29e8d662643a08f50d37fc9f9a8f2 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
@@ -54,7 +54,6 @@ const char kDataReductionPassThroughHeader[] =
DataReductionProxySettings::DataReductionProxySettings()
: unreachable_(false),
deferred_initialization_(false),
- promo_allowed_(false),
data_reduction_proxy_enabled_pref_name_(),
prefs_(NULL),
config_(nullptr),
@@ -81,7 +80,6 @@ void DataReductionProxySettings::InitPrefMembers() {
void DataReductionProxySettings::UpdateConfigValues() {
megjablon 2017/06/02 23:01:50 Remove this method.
tbansal1 2017/06/05 13:48:24 More cleanup. Yay! Done.
DCHECK(config_);
- promo_allowed_ = config_->promo_allowed();
}
void DataReductionProxySettings::InitDataReductionProxySettings(

Powered by Google App Engine
This is Rietveld 408576698