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

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

Issue 1052583005: Remove usage of SingleThreadTaskRunner from DataReductionProxyConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 | « components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
index f71ce8d74877ca967efb6b919610fee201340913..71dec5335a19510435a065378882d731b148ac4d 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
@@ -340,17 +340,15 @@ DataReductionProxyTestContext::Builder::Build() {
DataReductionProxyMutableConfigValues::CreateFromParams(params.get());
raw_mutable_config = mutable_config.get();
config.reset(new TestDataReductionProxyConfig(
- mutable_config.Pass(), task_runner, net_log.get(), configurator.get(),
+ mutable_config.Pass(), net_log.get(), configurator.get(),
event_creator.get()));
} else if (use_mock_config_) {
test_context_flags |= USE_MOCK_CONFIG;
config.reset(new MockDataReductionProxyConfig(
- params.Pass(), task_runner, net_log.get(), configurator.get(),
- event_creator.get()));
+ params.Pass(), net_log.get(), configurator.get(), event_creator.get()));
} else {
config.reset(new TestDataReductionProxyConfig(
- params.Pass(), task_runner, net_log.get(), configurator.get(),
- event_creator.get()));
+ params.Pass(), net_log.get(), configurator.get(), event_creator.get()));
}
scoped_ptr<DataReductionProxyRequestOptions> request_options;
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698