commit | 09714244c2d06a64285f30124f532e7660759243 | [log] [tgz] |
---|---|---|
author | Igor <igorcov@chromium.org> | Thu May 30 19:51:40 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 30 19:51:40 2024 |
tree | 179efd8217a525bd2a75c0d685be5d8f9322d987 | |
parent | 0289ae492698f4ca8ed57646dc750ec303a9dbdb [diff] |
Cache LacrosAvailability early Currently the value is cached after being used by ExternalPolicyLoader. To fix the problem, we cache the value the moment the validation is successful in the cloud_policy_store classes. The special case of kiosk + auto-launch is covered by the functionality from ProfileImpl. In that case the policy store class is triggered after the profile is created. This makes the Cache function to be called in most of the cases twice during user login. Once when the policy is validated, and second time when the ProfileImpl is notified that the prefs are loaded. BUG=b:333076204 TEST=Manual test on device Change-Id: I7eba9a977eca10c2a9cd73d9e469b488cca80415 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5465821 Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Igor <igorcov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1308211}
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.