chrome: Prepare browser tests for PostTask refactor.
Updates prerender and safe browsing browser tests to initialize the SafeBrowsingDatabaseManager after BrowserThreads were created (but before they are started). This is required for the upcoming move of BrowserThread::PostTask to base/task/post_task.h, as construction of SafeBrowsingDatabaseManager obtains a TaskRunner for the IO thread. In the future, this has to happen after thread initialization. Bug: 878356 Change-Id: I1d4c614690ba3aacf4887fefe57d378c23668706 Reviewed-on: https://chromium-review.googlesource.com/1211735Reviewed-by:Jialiu Lin <jialiul@chromium.org> Reviewed-by:
David Roger <droger@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#589488}
Showing
Please register or sign in to comment