Referrer Policy: Introduce "Origin When Cross-Origin" [2/3]
commitc82d2a7642d7659897d0e59a92b0ceb3bbfbc594
authormkwst <mkwst@chromium.org>
Sat, 22 Nov 2014 19:07:51 +0000 (22 11:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 22 Nov 2014 19:08:07 +0000 (22 19:08 +0000)
tree765524b59976173813befdbf3f2b746edbbf7671
parentb2fa1338db2a49dc9b2c21199ecd5efa2ac22281
Referrer Policy: Introduce "Origin When Cross-Origin" [2/3]

As specified at [1], this patch wires the Blink-side of the referrer
policy to the proper policy in the network stack.

[1/3]: Blink - https://codereview.chromium.org/736233004/
[2/3]: This patch.
[3/3]: Blink - https://codereview.chromium.org/747903003

[1]: https://w3c.github.io/webappsec/specs/referrer-policy/#origin-when-cross-origin

BUG=309551

Review URL: https://codereview.chromium.org/747043002

Cr-Commit-Position: refs/heads/master@{#305370}
chrome/browser/referrer_policy_browsertest.cc
content/browser/loader/resource_dispatcher_host_impl.cc