Chromium Code Reviews
DescriptionPolish the cleaning up url request code for parallel download.
This CL addresses code review feedbacks in
https://codereview.chromium.org/2811293004/.
The flow to close a particular request is:
DownloadFileImpl ==> DownloadItem ==> DownloadJob ==> Close url request.
The flow is covered in ParallelDownloadComplete browser test.
The reason that we do this, is because we terminate some of the requests
in parallel download before it completes while not canceling the whole
download. And after we null out the callback of ByteStreamReader, the
actual url request is not closed.
BUG=644352
Review-Url: https://codereview.chromium.org/2829853011
Cr-Commit-Position: refs/heads/master@{#467402}
Committed: https://chromium.googlesource.com/chromium/src/+/aca52687045830c9b42e288df02ddcf4a01618f7
Patch Set 1 #
Total comments: 2
Patch Set 2 : Work on feedbacks. #
Messages
Total messages: 18 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||