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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.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_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
index c1df94e165cb9c7baa03a1a224309a401cd34569..c32e38b3143cf28d19bbe97390a6606dd2b5edff 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
@@ -373,7 +373,7 @@ TEST_F(DataReductionProxySettingsTest, CheckQUICFieldTrials) {
DataReductionProxyParams::GetQuicFieldTrialName(),
"Disabled");
}
- test_context_->config()->params()->EnableQuic(enable_quic);
+ test_context_->config()->EnableQuic(enable_quic);
settings_->SetOnDataReductionEnabledCallback(
base::Bind(&DataReductionProxySettingsTestBase::
@@ -381,7 +381,7 @@ TEST_F(DataReductionProxySettingsTest, CheckQUICFieldTrials) {
base::Unretained(this)));
EXPECT_EQ(enable_quic,
- test_context_->config()->params()->origin().is_quic()) << i;
+ test_context_->config()->Origin().is_quic()) << i;
}
}

Powered by Google App Engine
This is Rietveld 408576698