Reland: Fix an issue that ResourceDownloader was never deleted on download completion
This CL calls the InProgressDownloadManager to delete ResourceDownloader after response is completed. It also fixes the issue when download is cancelled. The new CL fixes an issue that StreamHandleInputStream::OnStreamCompleted() could get called twice TBR=xingliu@chromium.org BUG=864189 Change-Id: Ia46040ceee88fd9978911c26ee32765a1ac4a099 Reviewed-on: https://chromium-review.googlesource.com/1142462Reviewed-by:Min Qin <qinmin@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#576401}
Showing
Please register or sign in to comment