commit | 950748a25fbf81027188f664d29c8d4a213dad51 | [log] [tgz] |
---|---|---|
author | Min Qin <qinmin@chromium.org> | Tue Apr 24 23:32:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 24 23:32:18 2018 |
tree | d3048f3ec2f9fae1dc9d58730468477da8f09185 | |
parent | a6860a42eb26f98f7abca52cc797d82d58905fbc [diff] |
move InProgressCache and some methods into InProgressDownloadManager Currently the InProgressCache is owned by ChromeDownloadManagerDelegate. In order for download to work as a service, the InProgressDownloadManager should be able to manage InProgressCache. It should read from the cache and recreate the download before resuming it. This CL moves the InProgressCache from ChromeDownloadManagerDelegate into InProgressDownloadmanager. And it also moves StartDownload() method as this is needed when resuming the download without DownloadManagerImpl. DownloadManagerImpl now becomes a delegate of InProgressDownloadManager. It will provide InProgressDownloadManager the information to create a new download. When resuming a download after launching download service, DownloadManagerImpl is not needed. BUG=803135 Change-Id: Ie7a22213e935638dac10dd82d2e079326e8083f2 Reviewed-on: https://chromium-review.googlesource.com/1024723 Commit-Queue: Min Qin <qinmin@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#553359}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .