Hook up EnableReferrers pref to NetworkContexts.
The causes the parameter to work when the network service is enabled. This CL disables referrers for Safe Browsing requests when the network service is enabled - none of the requests use referrers, so it seems like hooking up the kEnableReferrers pref to that NetworkContext is more effort than it's worth. Never send it rather than always send it just to make sure we respect the user's preference, when referrers are disabled. Bug: 838906 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I8c9d8350bfce99e1140900f5dbcbda9eb0cc9718 Reviewed-on: https://chromium-review.googlesource.com/1087570 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
Dominic Battré <battre@chromium.org> Reviewed-by:
Maks Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#568172}
Showing
Please register or sign in to comment