-
Gabriel Charette authored
Timings that should remain real-time even under MOCK_TIME are now explicitly using subtle::TimeTicksNowIgnoringOverride(). ThreadPoolClock defaults to DefaultTickClock in this CL but will be overridden under ScopedTaskEnvironment's upcoming multi-threaded MOCK_TIME mode @ https://chromium-review.googlesource.com/c/chromium/src/+/1686776 Ultimately, when MOCK_TIME mode always mocks TimeTicks::Now(), we will be able to remove this and use TimeTicks::Now() again directly for these calls. Bonus #1: Gets rid of a call to DeprecatedGetMockTickClock(). Bonus #2: Added thread annotations to DelayedTaskManager::queue_lock_. R=fdoray@chromium.org Bug: 946657, 789079, 905412 Change-Id: Ief86338388b670ad9ddafb926e6817df6d96a95a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687028 Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#675695}
3ea640af