commit | 066637cf13d873fa6ed71430e9e60de52ebc7d7d | [log] [tgz] |
---|---|---|
author | Xi Han <hanxi@google.com> | Fri Feb 16 16:41:47 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 16 16:41:47 2018 |
tree | 97bef04929dadf8e5f2905c2ac8a7062f9468f7a | |
parent | 14fb4bf71bc1d4e0693b588724c8d6f8ed2d6207 [diff] |
[Servicification] Create BrowserThread::IO earlier. In this CL, we split the creation of the BrowserThread::IO thread and initialization of its delegate: 1. The BrowserThread::IO is created in the BrowserMainLoop::PostMainMessageLoopStart() after the UI thread is created. Adjust the tracing events in the BrowserMainLoop. 2. Simplify the logic in BrowserMainLoop::CreateThreads() since only the launcher thread is created there. Initializes the delegate of the BrowserThread::IO there. 3. Update the logic in the BrowserThreadImpl when checking whether the BrowserThread::IO has initialized. 4. Update BrowserMainLoopTest and BrowserProcessImplTest. This is the first step of starting ServiceManager earlier. Bug: 729596 Change-Id: I7a08fd7c7bf5548f8039c8c38152ecfde3bd20c4 Reviewed-on: https://chromium-review.googlesource.com/905424 Commit-Queue: Xi Han <hanxi@chromium.org> Reviewed-by: Ken Rockot <rockot@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#537318}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .