commit | 7dfed0fa389e35292b1c33787b12cf9e337eea9d | [log] [tgz] |
---|---|---|
author | Alex Gough <ajgo@chromium.org> | Tue Mar 16 23:23:41 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 16 23:23:41 2021 |
tree | 7d7f1a7b59ef53da53728cc25b7ea9fed7d06395 | |
parent | f98755faa8385afa933ab53d763b02e773592668 [diff] |
Move ownership of ThreadProvider to TargetEventsThread. ThreadProvider is accessed during policy destruction to unregister waits, if the object is already destroyed then there will be shutdown crashes. This CL moves ownership of the ThreadProvider to the target events thread to prevent this. Rather than using BrokerServices as the thread param we introduce a new helper structure to transfer objects to the events thread, hopefully making transfer of ownership clearer. Tests: sbox_integration_tests Bug: 1167646 Change-Id: I969e3d43fdd9b44c640b13d2011b8efd512ba0c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2747614 Reviewed-by: Will Harris <wfh@chromium.org> Reviewed-by: Greg Thompson <grt@chromium.org> Commit-Queue: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/master@{#863525}
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.