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.
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-Commit-Position: refs/heads/master@{#858834}
GitOrigin-RevId: 2bae35ff76592ed1dcaa14d8d5d03d9103a7f315
1 file changed