commit | 3503656d61c02e9917110cd3177cfc17c70ee1e5 | [log] [tgz] |
---|---|---|
author | Andrey Kosyakov <caseq@chromium.org> | Thu Dec 02 21:54:08 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 02 21:54:08 2021 |
tree | 81c42045b2661f18b1b1136c1ad72d99b2b65cfc | |
parent | 17f7126f9f32d19749e07ff864f91dbe454193ef [diff] |
Fix headless_shell --single-process - split HeadlessShell::Shutdown() into Shutdown() and ShutdownSoon() -- close web contents immediately, but destroy the rest once we're out of the original task that requested it. This gives HeadlessWindowTreeHost time to get destroyed, as the latter invokes sync mojo calls from the destructor; - invoke RenderProcessHost::ShutDownInProcessRenderer() during shutdown to tear down in-process RPH before the profiles get destroyed; - allow base sync primitives in the former; it doesn't make sense to expose something in the content API if it requires other calls that are non-public. Bug: 694424, 1086003 Change-Id: Ie63b4849c81dad8d2f7bf71e9d21fc7a4ce31be1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3312124 Reviewed-by: Francois Pierre Doray <fdoray@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Peter Kvitek <kvitekp@chromium.org> Commit-Queue: Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/main@{#947656}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.