upgrade-insecure-requests is now obeyed for non-navigation redirects.

This cl implements go/upgrade-insecure-redirects, a flag is set for
resource requests that should be upgraded to HTTPS, the flag is then
passed to //net and //net performs the upgrade if at any point the
request is redirected to HTTP.

This only covers enforcement of the CSP, it does not cover reporting,
which will be done in a separate CL.

Bug: 615885
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ia17955e9fb2388cbb514433ccf140f5749d5b89e
Reviewed-on: https://chromium-review.googlesource.com/1067846
Commit-Queue: Carlos IL <[email protected]>
Reviewed-by: Mike West <[email protected]>
Reviewed-by: Matt Menke <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564243}
15 files changed