commit | bdc7250e539a9f40f84fd157bc29481e5aac2bf8 | [log] [tgz] |
---|---|---|
author | asanka <asanka@chromium.org> | Tue Jan 26 02:37:44 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jan 26 02:39:16 2016 |
tree | 3868dd449ac30268fc9c97d92211773b99684a6d | |
parent | 0905b87187340fc9aa99f2226fff9c9b08af2f16 [diff] |
[Downloads] Avoid resetting SecureHash state across an interruption. DownloadFileImpl/BaseFile was causing the SecureHash object to be finalized when a download was interrupted. This caused the hash state to be incorrect and subsequently the hash resulting from resuming the download was also incorrect. BUG=7648 BUG=581164 Review URL: https://codereview.chromium.org/1591523002 Cr-Commit-Position: refs/heads/master@{#371428}