Do not use ScopedMockTimeMessageLoopTaskRunner in //net.
Remove all uses of deprecated ScopedMockTimeMessageLoopTaskRunner in
//net in favor of ScopedTaskEnvironment. Also add
GetMockTimeTaskRunner() method to ScopedTaskEnvironment so that
HasPendingTask(), GetPendingTaskCount(), and NextPendingTaskDelay()
methods can be called just like before.
The relation to https://crbug.com/829429 is that because of presubmit
rules, this is blocking the rename of
net/http/http_stream_factory_job_controller_unittest.cc at
https://crrev.com/c/1000487.
Bug: 829429, 791831
Change-Id: I445dca6ef8d91e1088c14b0f52d2358950b7e50f
Reviewed-on: https://chromium-review.googlesource.com/1005109
Commit-Queue: Bence Béky <bnc@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552088}
CrOS-Libchrome-Original-Commit: b71838bd71e97e880b5554086ccfd5b84f07fbcf
2 files changed