components: Prepare unittests for PostTask refactor.
This adds TestBrowserThreadBundles to unittests that will need it when we replace BrowserThread::PostTask() and friends with base/post_task.h. The TestBrowserThreadBundle initializes globals that are required for things like posting a task to or obtaining a TaskRunner for a BrowserThread. I'm making this change in a separate patch to make review of the future automated refactoring patches easier. Depends on https://crrev.com/c/1185887. Bug: 878356 Change-Id: Ifd332b995e3449b26d9c93283fb708792b2e66eb Reviewed-on: https://chromium-review.googlesource.com/1208050Reviewed-by:Derek Cheng <imcheng@chromium.org> Reviewed-by:
Jialiu Lin <jialiul@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#589613}
Showing
Please register or sign in to comment