commit | a2e04cc6be7f691bd4c8b340dcb1173cab392e01 | [log] [tgz] |
---|---|---|
author | cammie <cammie@chromium.org> | Tue Sep 27 17:16:58 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 27 17:16:58 2022 |
tree | 9b0246912e96b26fe90276a3438ab2f1584ac673 | |
parent | 1d1da77495c1fad55d8f1ecaa611eb774e5e177b [diff] |
Shared Storage: Add JS API to get remaining budget for selectURL. We add to the shared storage worklet JS API the method `sharedStorage.remainingBudget()`, which returns a double representing the remaining bits in the origin's budget for `selectURL()`. We also add a timing histogram to keep track of how long the calls to this method take. Bug: 1218540,1366067 Change-Id: Idadb11084570fcd8d4a4e856918450a8f7364676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3852345 Reviewed-by: Ayu Ishii <ayui@chromium.org> Commit-Queue: Cammie Smith Barnes <cammie@chromium.org> Reviewed-by: Will Harris <wfh@chromium.org> Reviewed-by: Yao Xiao <yaoxia@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1051895}
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.