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

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: Rebase 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
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7253c7bd29f4ce6946c3bbdfed56db25bf2efda6..7ac21715f584737632ed6fe378c4e812f8be916f 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
@@ -71,22 +71,21 @@ class ContentLoFiDeciderTest : public testing::Test {
.WithClient(kClient)
.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_->net_log(), test_context_->event_creator()));
+ test_context_->configurator()));
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(
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698