| Index: content/browser/download/download_item_impl_delegate.h
|
| diff --git a/content/browser/download/download_item_impl_delegate.h b/content/browser/download/download_item_impl_delegate.h
|
| index 00924542af695f38979e9cc883a9ed51519d9130..a3c430845301b0a7fc7f3da77492e3b7d08e1226 100644
|
| --- a/content/browser/download/download_item_impl_delegate.h
|
| +++ b/content/browser/download/download_item_impl_delegate.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/file_path.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/public/browser/download_url_parameters.h"
|
|
|
| class DownloadFileManager;
|
| class DownloadItemImpl;
|
| @@ -43,7 +44,13 @@ class CONTENT_EXPORT DownloadItemImplDelegate {
|
|
|
| // If all pre-requisites have been met, complete download processing.
|
| // TODO(rdsmith): Move into DownloadItem.
|
| - virtual void MaybeCompleteDownload(DownloadItemImpl* download);
|
| + virtual void MaybeCompleteDownload(int32 download_id);
|
| +
|
| + // Called when an interrupted download is resumed.
|
| + // |download_id| is the local ID of the download.
|
| + virtual void RestartInterruptedDownload(
|
| + DownloadItemImpl* download,
|
| + const content::DownloadUrlParameters::OnStartedCallback& callback);
|
|
|
| // For contextual issues like language and prefs.
|
| virtual content::BrowserContext* GetBrowserContext() const;
|
|
|