| Index: content/browser/download/download_file_impl.cc
|
| diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
|
| index f998432675513b7af860553678a6419650528959..1301c7d05080583eb8a5cc3d8fd46466332eee1d 100644
|
| --- a/content/browser/download/download_file_impl.cc
|
| +++ b/content/browser/download/download_file_impl.cc
|
| @@ -21,6 +21,7 @@ DownloadFileImpl::DownloadFileImpl(
|
| info->url(),
|
| info->referrer_url,
|
| info->received_bytes,
|
| + info->save_info.hash_state,
|
| info->save_info.file_stream),
|
| id_(info->download_id),
|
| request_handle_(request_handle),
|
| @@ -78,6 +79,14 @@ bool DownloadFileImpl::GetSha256Hash(std::string* hash) {
|
| return file_.GetSha256Hash(hash);
|
| }
|
|
|
| +std::string DownloadFileImpl::GetSha256HashState() {
|
| + return file_.GetSha256HashState();
|
| +}
|
| +
|
| +bool DownloadFileImpl::SetSha256HashState(const std::string& hash_state) {
|
| + return file_.SetSha256HashState(hash_state);
|
| +}
|
| +
|
| // DownloadFileInterface implementation.
|
| void DownloadFileImpl::CancelDownloadRequest() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
|
|