Plumb pre-created service manager thread when creating BrowserMainLoop.
The service manager thread and (TODO) ServiceManager might be created before the full browser starts, and we want to reuse them when starting the full browser. Therefore, we add a pointer of BrowserStartupData in MainFunctionParams. Particularly, in this CL, ContentMainRunnerImpl creates and owns a BrowserStartupData object. It passes a pointer of the BrowserStartupData through the main function parameter to BrowserMainLoop. The BrowserStartupData interface was introduced in: https://crrev.com/c/1117471. Bug: 846846, 853308 Change-Id: Ie11063227a670cd8d72935131e854ee2b5c46e4e Reviewed-on: https://chromium-review.googlesource.com/1108178 Commit-Queue: Xi Han <hanxi@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#574054}
Showing
Please register or sign in to comment