commit | 47199355d066295ad1fc57206791ce3975abcbb8 | [log] [tgz] |
---|---|---|
author | Marc Treib <treib@chromium.org> | Thu Mar 28 13:26:10 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 28 13:26:10 2024 |
tree | d546eb7f14a66d60c7f43b15fdb4ef89c98dc385 | |
parent | 1e5df9c64394b536b8a08f6014a7ec88ac79a39d [diff] |
Sync ModelLoadManager cleanup: Remove `loaded_types_` member This member tracked which data types had reached (at least) the "loaded" state. This CL changes ModelLoadManager to query the canonical state from the ModelTypeControllers instead. This "should" result in equivalent behavior, but it's really hard to be sure. It definitely removes the risk of `loaded_types_` being out of sync with the actual status (which was previously haphazardly enforced via various (D)CHECKs, some of which triggered from time to time). Bug: 40901755 Change-Id: I7b6e26b4f7d26b52e97150d2bd5b989f5d900c19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5401793 Reviewed-by: Jood Hajeer <jood@google.com> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/main@{#1279595}
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.