-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PrefetchProxy Sends Decoy Requests when prefetch isn't eligible
This CL adds behavior to send decoy prefetch requests when a url is not eligible because of some private user state. For example, if a user has cookies on an origin and it isn't prefetched, Google could learn that the user has cookies on that origin. Now, a "decoy" request will be sent that looks identical to a normal prefetch, even when the user has cookies for the site. These decoys will not be cached or used, just silently discarded. A variation param is also added to set a random ratio of decoy requests that are sent, in hopes of reducing some of the unused data usage. By default, decoy requests are always sent. (cherry picked from commit 2bae35f) Bug: 1181441 Change-Id: I23ce731e1aaf433ccce0bb45209eaf9d46be2f81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2718584 Commit-Queue: Robert Ogden <robertogden@chromium.org> Reviewed-by: Ryan Sturm <ryansturm@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#858834} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2733747 Auto-Submit: Robert Ogden <robertogden@chromium.org> Commit-Queue: Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/branch-heads/4430@{#168} Cr-Branched-From: e5ce7dc-refs/heads/master@{#857950}
- Loading branch information
Robert Ogden
authored and
Chromium LUCI CQ
committed
Mar 5, 2021
1 parent
ee4a5f0
commit ad11795
Showing
12 changed files
with
767 additions
and
54 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
Oops, something went wrong.