Introduce MockTimeDomain to replace VirtualTimeDomain in tests.
Since scheduler/base is getting moved to //base/task/sequence_manager we don't want to explicitly support the concept of virtual time because it might be confused with the existing mechanism to override a TickClock in //base. So we can't move VirtualTimeDomain to //base. It was used in some tests in scheduler/base as a mock time domain, so this CL makes it explicit and test-only. Bug: 783309 Change-Id: I0a11e565de94fce06af4aff288427b6bc78e890b Reviewed-on: https://chromium-review.googlesource.com/1120257Reviewed-by:Alexander Timin <altimin@chromium.org> Commit-Queue: Greg Kraynov <kraynov@chromium.org> Cr-Commit-Position: refs/heads/master@{#571562}
Showing
Please register or sign in to comment