Strip variation header if a request is redirected to a non-google server

If a request is redirected from a Google domain to a non-googel domain, the
variation header (X-Client-Data) should not be forwarded to the new server.
This is implemented by stripping the header in the ChromeNetworkDelegate when a
redirect happens.

Bug: 794644
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ie11021509997f03ba886f7ed370a93ecba00519e
Reviewed-on: https://chromium-review.googlesource.com/836869
Reviewed-by: Alexei Svitkine <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Mark Pearson <[email protected]>
Commit-Queue: Dominic Battré <[email protected]>
Cr-Commit-Position: refs/heads/master@{#526964}
6 files changed