commit | a2961b4058ceac1911cfbbb85cc698ce09ff5655 | [log] [tgz] |
---|---|---|
author | Artem Sumaneev <asumaneev@google.com> | Tue Jan 21 10:19:35 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 21 10:19:35 2025 |
tree | 7f1bea15ec850aaeda6668ff15c871c1c37b14b3 | |
parent | 9ad34888e17dfdff9825212245d8f493d1473cc3 [diff] |
[policy] Migrate MachineLevelUserCloudPolicyFetcher to use scoped observation This is a tentative fix for the crash when the CloudPolicyService is being observed upon destruction. Scoped observation will ensure that the observer is removed when needed. Bug: b:40915114 Change-Id: I73e6cb37f75bc2070de4adf12a4aaf2d3deceed5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6180123 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Yann Dago <ydago@chromium.org> Auto-Submit: Artem Sumaneev <asumaneev@google.com> Commit-Queue: Artem Sumaneev <asumaneev@google.com> Reviewed-by: Igor <igorcov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1408922}
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.