commit | 98a5f1a7676e30ec07f2edcd7656e8af8538fdef | [log] [tgz] |
---|---|---|
author | Andrew Rayskiy <greengrape@google.com> | Thu Feb 27 20:02:16 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 27 20:02:16 2025 |
tree | dfe993e341451717eede4aabec2da61310798946 | |
parent | a40a7bb4367b2e19a7859a97ace3077b41ef22d1 [diff] |
iwa: Extend the on-demand component update to cover policy changes When logging into a new account on W/M/L, there's a race condition between the first policy fetch and the startup of the web app provider; if the latter comes first, we might get stuck with the preloaded component for a few minutes. This CL attempts to mitigate this by routing that code path via OnMaybeDownloadedDataReady() too. Note that the actual on-demand request will be queued at most once regardless of how many times the policy changes during one session. Bug: 393101160 Change-Id: I176b451d0e404aa12a5afcfaa9a3d955f1e9a271 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6304806 Reviewed-by: Sergii Bykov <sbykov@google.com> Commit-Queue: Andrew Rayskiy <greengrape@google.com> Cr-Commit-Position: refs/heads/main@{#1425880}
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.