Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ZPS] Update prefs-based cache to account for ZPS prefetching on SRP
The core prefs-based cache implementation used for ZPS prefetching has historically only stored (prefetched) ZPS responses for non-URL-based NTP contexts. Now that the code-path for ZPS prefetching on SRP has been implemented, with appropriate feature flag gating, the cache implementation needs to be updated to account for the presence of ZPS responses in SRP/Web contexts. This CL augments the existing prefs-based cache to utilize an additional dictionary pref dedicated to storing SRP/Web ZPS responses keyed off the associated page URL. Bug: 1344004 Change-Id: Ied7b737f4352eac839ca12999602be550e97b1ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3794439 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Khalid Peer <khalidpeer@chromium.org> Reviewed-by: Rohit Rao <rohitrao@chromium.org> Reviewed-by: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1034205}
- Loading branch information
Khalid Peer
authored and
Chromium LUCI CQ
committed
Aug 11, 2022
1 parent
c957b07
commit 4701a29
Showing
8 changed files
with
640 additions
and
72 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
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.