commit | d51e5b5efebe7b96ef6ce5331f28b7a482881818 | [log] [tgz] |
---|---|---|
author | Fergus Dall <sidereal@google.com> | Wed Feb 24 09:11:05 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 24 09:11:05 2021 |
tree | 06127dbc31f52776d47f043a6f54b8e5684b3dca | |
parent | 9e5b091083be96e69641b85725740598420fb61b [diff] |
Move initialization and shutdown of DBusThreadManager out of CrostiniTestHelper CrostiniTestHelper tries to be helpful by initializing and shutting down DBusThreadManager as needed. In production however, keyed services are always shutdown before DBusThreadManager, so DBusThreadManager must not be shutdown before the profile has been destroyed (which shuts down all keyed services tied too it). As CrostiniTestHelper uses a profile managed elsewhere, it cannot manage this. This was causing failures in ShelfContextMenuTest.CrostiniNormalApp, as some tasks from CrostiniManager would run after DBusThreadManager was shutdown and expect to have access to DBus clients. Bug: 1177126 Change-Id: Ia7777570da010c3ebad4c31d77a85a59a19a7934 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2717603 Commit-Queue: Fergus Dall <sidereal@google.com> Reviewed-by: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#857074}
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.