Update prefetch status to kPrefetchNotUsedCookiesChanged when
appropriate. After the eligibility check is complete, a PrefetchCookieListener is registered for eligible cross-site prefetches in order to ensure that cookies are not added for the prefetch URL. If cookies are added, then the prefetch cannot be served. This CL makes it so that when the prefetch is blocked due to cookies having changed, the prefetch's status is updated to kPrefetchNotUsedCookiesChanged. The CL also adds two tests to cover all different cases where cookies changing are checked. Bug: 1443037 Change-Id: Ie48a33997867c6aad55b4ca08b5bfa442368277d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4521866 Reviewed-by:Ryan Sturm <ryansturm@chromium.org> Commit-Queue: Max Curran <curranmax@chromium.org> Cr-Commit-Position: refs/heads/main@{#1149319}
Loading
Please register or sign in to comment