| Index: content/browser/download/download_job.cc
|
| diff --git a/content/browser/download/download_job.cc b/content/browser/download/download_job.cc
|
| index cbdf35f786da9fb037504e30ca7d8601202d0ad9..66b49c07e8813a53c8dc10ddee44b1138c1af603 100644
|
| --- a/content/browser/download/download_job.cc
|
| +++ b/content/browser/download/download_job.cc
|
| @@ -28,11 +28,6 @@ void DownloadJob::StartDownload() const {
|
| download_item_->StartDownload();
|
| }
|
|
|
| -void DownloadJob::Interrupt(DownloadInterruptReason reason) {
|
| - download_item_->InterruptAndDiscardPartialState(reason);
|
| - download_item_->UpdateObservers();
|
| -}
|
| -
|
| bool DownloadJob::AddByteStream(std::unique_ptr<ByteStreamReader> stream_reader,
|
| int64_t offset,
|
| int64_t length) {
|
| @@ -51,17 +46,6 @@ bool DownloadJob::AddByteStream(std::unique_ptr<ByteStreamReader> stream_reader,
|
| return true;
|
| }
|
|
|
| -void DownloadJob::SetPotentialFileLength(int64_t length) {
|
| - DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| - DownloadFile* download_file = download_item_->download_file_.get();
|
| - if (download_file) {
|
| - BrowserThread::PostTask(
|
| - BrowserThread::FILE, FROM_HERE,
|
| - base::Bind(&DownloadFile::SetPotentialFileLength,
|
| - base::Unretained(download_file), length));
|
| - }
|
| -}
|
| -
|
| void DownloadJob::CancelRequestWithOffset(int64_t offset) {}
|
|
|
| bool DownloadJob::IsParallelizable() const {
|
|
|