Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[shared storage] Store SharedStorageBudgetMetadata to FFURLMapping::M…
…apInfo - Implement the calculation of shared storage budget. Store it into FFURLMapping::MapInfo. (Step 2 in the design doc) - Also a relevant behavior change: if the shared storage’s url mapping fails, the default URL at index 0 will be returned and `budget_to_charge` will be set to to Min(1, log(n)) (as opposed to the pre-existing way to return nullopt to fail the FF navigation). So from FFURLMapping’s perspective the mapping shall always succeed. Design doc: https://docs.google.com/document/d/1KPRxM4tId0R0uIdJH4PEgSiHgx3IMRlQyzUffh_0FeE Bug: 1218540 Change-Id: Ic994122113cc68b70799f2de13280d94763fbdfd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3472984 Reviewed-by: Shivani Sharma <shivanisha@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Cammie Smith Barnes <cammie@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Cr-Commit-Position: refs/heads/main@{#985049}
- Loading branch information
1 parent
91289ce
commit 1099e4c
Showing
13 changed files
with
428 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.