diff options
author | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 19:22:41 +0000 |
---|---|---|
committer | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 19:22:41 +0000 |
commit | 443853c674eeabd922bfcda2caf0411f47c9a93c (patch) | |
tree | 425513cd9998b67aa183aa6f7c9a700761de533f /WATCHLISTS | |
parent | b6dbdce9b4c536b4d0208ab2a0bf39bd219824bf (diff) | |
download | chromium_src-443853c674eeabd922bfcda2caf0411f47c9a93c.zip chromium_src-443853c674eeabd922bfcda2caf0411f47c9a93c.tar.gz chromium_src-443853c674eeabd922bfcda2caf0411f47c9a93c.tar.bz2 |
In order to resume a download some more information needs to be gathered.
This CL adds member data to classes to support this. It is the first of several CLs to implement download resumption.
In addition hash information is propagated from DownloadFile to DownloadItem, because a new DownloadFile will be created when the download is resumed. It will also need to be persisted in order to resume across chrome runs.
The plan is that data will be collected in DownloadResourceHandler::OnResponseStarted() and passed down to DownloadItem.
On resume, it will pass the information from the resuming DownloadItem to ResourceDispatcherHost::BeginDownload(), which will set any required headers.
BUG= 7648
TEST=None
Review URL: http://codereview.chromium.org/8404049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'WATCHLISTS')
0 files changed, 0 insertions, 0 deletions