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

Unified Diff: components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc

Issue 1680893002: Moving proxy resolution logic out of NetworkDelegate and into ProxyDelegate for DataReductionProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased change Created 4 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/content/browser/content_lofi_decider_unittest.cc
diff --git a/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc b/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc
index 5a3aca85b4958ced8afb776aee17993f727b9c86..6d5c61c01d1047db05c990faca8756784eecc0d7 100644
--- a/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc
+++ b/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc
@@ -72,22 +72,21 @@ class ContentLoFiDeciderTest : public testing::Test {
.WithMockClientSocketFactory(&mock_socket_factory_)
.WithURLRequestContext(&context_)
.Build();
data_reduction_proxy_network_delegate_.reset(
new DataReductionProxyNetworkDelegate(
scoped_ptr<net::NetworkDelegate>(new net::NetworkDelegateImpl()),
test_context_->config(),
test_context_->io_data()->request_options(),
test_context_->configurator(),
- test_context_->io_data()->experiments_stats(),
- test_context_->net_log(), test_context_->event_creator()));
+ test_context_->io_data()->experiments_stats()));
data_reduction_proxy_network_delegate_->InitIODataAndUMA(
test_context_->io_data(), test_context_->io_data()->bypass_stats());
context_.set_network_delegate(data_reduction_proxy_network_delegate_.get());
scoped_ptr<data_reduction_proxy::ContentLoFiDecider>
data_reduction_proxy_lofi_decider(
new data_reduction_proxy::ContentLoFiDecider());
test_context_->io_data()->set_lofi_decider(

Powered by Google App Engine
This is Rietveld 408576698