-
Gabriel Charette authored
Multi-threaded MOCK_TIME advances when either RunLoop::Run() or ScopedTaskEnvironment::FastForward*() is active and the system reaches an idle phase (both main thread and thread pool are out of immediate tasks). It then advances by the minimum time delta necessary to make a task able to run. In a follow-up CL, I'll split MOCK_TIME off of MainThreadType (now that it's no longer main thread specific) and migrate callers. Bug: 946657 Change-Id: Id3da34ac066623291a8fca682fd13c9473e83e0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1686776Reviewed-by:
Alex Clarke <alexclarke@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#676272}
1b3b02a4