Download later: Implement core DownloadItemImpl logic.
The download later check is after the intermediate file rename, right before MaybeComplete. If any other interrupt reason happens, we use the existing logic to handle. When Resume() is called, we clear the DownloadSchedule struct. Since only auto resumption handler or the user will trigger it. Bug: 1078454 Change-Id: I0f442b662e94fb55991796a99fb226d2c8cc7998 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249039Reviewed-by:David Trainor <dtrainor@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#780861}
Showing
Please register or sign in to comment