| Index: content/browser/download/drag_download_file.cc
|
| diff --git a/content/browser/download/drag_download_file.cc b/content/browser/download/drag_download_file.cc
|
| index d81b04ccf6b8c7d41a1d763d794467b723b468fc..c98282e76903b0901528bcdf57f2a7ee8d848a9c 100644
|
| --- a/content/browser/download/drag_download_file.cc
|
| +++ b/content/browser/download/drag_download_file.cc
|
| @@ -89,14 +89,15 @@ class DragDownloadFile::DragDownloadFileUI : public DownloadItem::Observer {
|
| download_item_->RemoveObserver(this);
|
| }
|
|
|
| - void OnDownloadStarted(DownloadItem* item, net::Error error) {
|
| + void OnDownloadStarted(DownloadItem* item,
|
| + DownloadInterruptReason interrupt_reason) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| if (!item) {
|
| - DCHECK_NE(net::OK, error);
|
| + DCHECK_NE(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason);
|
| on_completed_loop_->PostTask(FROM_HERE, base::Bind(on_completed_, false));
|
| return;
|
| }
|
| - DCHECK_EQ(net::OK, error);
|
| + DCHECK_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason);
|
| download_item_ = item;
|
| download_item_->AddObserver(this);
|
| }
|
|
|