Add interrupt reasons if response was not started before it completes
If a download is getting no response while it completes, it shouldn't carry the DOWNLOAD_INTERRUPT_REASON_NONE reason. Otherwise, it will fail the DCHECK in InProgressDownloadManager::StartDownload(). This CL fixes the issue by adding the NETWORK_FAILED reason to the download. BUG=900149 Change-Id: Ic068691f8bc5146fba92e75894eec74ce5c54bc8 Reviewed-on: https://chromium-review.googlesource.com/c/1308672Reviewed-by:Xing Liu <xingliu@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#604813}
Showing
Please register or sign in to comment