Download retry: Support redirect in UrlDownloader.
Currently redirect is not supported for download in non network service code path without a renderer where we handle the network request with UrlDownloader. We have two legit use cases for redirect in UrlDownloader. 1. Retry, we won't assume the renderer exists and the download URL is the final URL. 2. Background download in normal user profile. It should be legit for all clients to redirect. Bug: 883387 Change-Id: Ib517b3a1e23fbfac939386c0f2341a15a54b70ab Reviewed-on: https://chromium-review.googlesource.com/c/1312114 Commit-Queue: Xing Liu <xingliu@chromium.org> Reviewed-by:Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#604798}
Showing
Please register or sign in to comment