Prepare HistoryService tests for HistoryServiceUsesTaskScheduler activation.
The feature will soon be flipped to ENABLED_BY_DEFAULT. This will make HistoryServiceBackend's task runner dispatch to the ThreadPool instead of a dedicated base::Thread. The tests need to be prepared to stay functional when that happens. This is done as the last mile of the chrome-wide effort to coalesce as much work as possible to the ThreadPool. Bug: 661143 Change-Id: I7bdbdb5152edafc5394aeab187ea8a8602f5330e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972305 Commit-Queue: Oliver Li <olivierli@chromium.org> Auto-Submit: Oliver Li <olivierli@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#726361}
Showing
Please register or sign in to comment