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

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

Issue 958683002: Migrate most DataReductionProxyParams methods to be private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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 534e60d547b4ea1b180cf60ae5bd5b8e694556ab..1f3c75cdfa44cc889570b6406ca3657edfa47e32 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
@@ -82,10 +82,10 @@ void DataReductionProxySettings::InitPrefMembers() {
void DataReductionProxySettings::UpdateConfigValues() {
DCHECK(config_);
- allowed_ = config_->params()->allowed();
- alternative_allowed_ = config_->params()->alternative_allowed();
- promo_allowed_ = config_->params()->promo_allowed();
- primary_origin_ = config_->params()->origin().ToURI();
+ allowed_ = config_->allowed();
+ alternative_allowed_ = config_->alternative_allowed();
+ promo_allowed_ = config_->promo_allowed();
+ primary_origin_ = config_->Origin().ToURI();
}
void DataReductionProxySettings::InitDataReductionProxySettings(

Powered by Google App Engine
This is Rietveld 408576698