commit | cc048f893dac3da0376abf7adc781b0452691a0d | [log] [tgz] |
---|---|---|
author | Sorin Jianu <[email protected]> | Wed Jul 26 02:05:54 2017 |
committer | Commit Bot <[email protected]> | Wed Jul 26 02:05:54 2017 |
tree | 04f1e550511bab57e4a547b9b303b63247a39823 | |
parent | 86aeb70b65bcd24058ab6f9f8038a8d8ea91de34 [diff] [blame] |
Eliminate task runner injection from the configurator. The new task scheduler API makes it possible to simplify the configurator and avoid injecting task runners. Bug: 740992 Change-Id: Iaabdc498993745372cee47193f16f1df4d09f7a2 Reviewed-on: https://chromium-review.googlesource.com/582030 Reviewed-by: David Roger <[email protected]> Reviewed-by: Joshua Pawlicki <[email protected]> Reviewed-by: Devlin <[email protected]> Commit-Queue: Sorin Jianu <[email protected]> Cr-Commit-Position: refs/heads/master@{#489528}
diff --git a/components/update_client/request_sender_unittest.cc b/components/update_client/request_sender_unittest.cc index 82a07c2..ec79ea1d 100644 --- a/components/update_client/request_sender_unittest.cc +++ b/components/update_client/request_sender_unittest.cc
@@ -84,8 +84,7 @@ RequestSenderTest::~RequestSenderTest() {} void RequestSenderTest::SetUp() { - config_ = base::MakeRefCounted<TestConfigurator>( - base::ThreadTaskRunnerHandle::Get(), base::ThreadTaskRunnerHandle::Get()); + config_ = base::MakeRefCounted<TestConfigurator>(); interceptor_factory_ = base::MakeUnique<InterceptorFactory>(base::ThreadTaskRunnerHandle::Get()); post_interceptor_1_ =