Reset percent_complete and received_bytes when DownloadTask is started.
When download is restarted after the failure the progress should be 0%. This CL fixes the bug where download UI displayed 100% progress after restarting the failed download. Bug: 823968 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ia44961f9602ea76b0a731bae1829d48fa5fc533f Reviewed-on: https://chromium-review.googlesource.com/972575Reviewed-by:Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#544722}
Showing
Please register or sign in to comment