commit | f96ef6029ed71b666674056388126d829efc3a66 | [log] [tgz] |
---|---|---|
author | Salvador Guerrero <salg@google.com> | Thu Nov 03 16:20:50 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 03 16:20:50 2022 |
tree | dba2b926125bccc04386914818f8cc1328f34449 | |
parent | 21a532d998a0480c7559419a9d0ad404e5f3f66e [diff] |
Fixed reader mode CPA disappearing on startup There are some cases where we query for CPA signals twice for the same page load, for example on startup. Rate limiting on ReaderModeManager assumed that the signal would be queried once per page load, so the second time it'll return false and the reader mode action will disappear. This CL adds a postTask to ReaderModeActionProvider to wait to notify ReaderModeManager of the shown action, that way the second call won't be rate limited. Bug: 1380093 Change-Id: I6d82bdfdafd8c9beedb158a2f843330d9a7679ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3998724 Commit-Queue: Salvador Guerrero Ramos <salg@google.com> Reviewed-by: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067052}
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.