commit | 1726e18dded5365a3c978adad98aabaf414283d4 | [log] [tgz] |
---|---|---|
author | Ken Rockot <rockot@chromium.org> | Thu Feb 28 09:48:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 28 09:48:56 2019 |
tree | b701e86c6d1fc4e198147e2981168d748aba798d | |
parent | 5db8d9c98aafc23feffe973368db1327a7cddc00 [diff] |
NS: Support WebRequest with download link requests Downloads initiated by download link interaction were not plumbed through the WebRequest path at all when NS is enabled. This fixes that. See changes to download_manager_impl.cc, which constitute the bulk of the interesting diff here. The rest of the CL is plumbing a flag through WebRequestProxyingURLLoaderFactory so it knows that these requests are downloads, because leaning on ResourceType seemed like the wrong thing to do (it's defined by content, and the ResourceRequest is constructed within a component that can't depend on content). Bug: 935567 Change-Id: I88f535d5e99435d7bae8ca6046ffa1b88d339bf1 Reviewed-on: https://chromium-review.googlesource.com/c/1493637 Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#636386}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .