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

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

Issue 1124073008: Base Data Reduction Proxy configuration on vectors of servers per origin scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 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_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 ee474d581b76886ab9671fb8c9be229a86e96ee9..c5cd1a0c59d5228c2fedf64535a11b05d23674df 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
@@ -409,8 +409,9 @@ TEST_F(DataReductionProxySettingsTest, CheckQUICFieldTrials) {
SyntheticFieldTrialRegistrationCallback,
base::Unretained(this)));
- EXPECT_EQ(enable_quic,
- test_context_->config()->test_params()->origin().is_quic()) << i;
+ net::ProxyServer origin =
+ test_context_->config()->test_params()->proxies_for_http(false).front();
+ EXPECT_EQ(enable_quic, origin.is_quic()) << i;
}
}

Powered by Google App Engine
This is Rietveld 408576698