| Index: chrome/browser/download/download_manager.h
|
| diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
|
| index f4dc78d7ae13626d22bb5bd4c98a9d99d97c530f..cc9b149387601045b52ec6c3357636c2220730b1 100644
|
| --- a/chrome/browser/download/download_manager.h
|
| +++ b/chrome/browser/download/download_manager.h
|
| @@ -110,11 +110,14 @@ class DownloadManager
|
| // Notifications sent from the download thread to the UI thread
|
| void StartDownload(DownloadCreateInfo* info);
|
| void UpdateDownload(int32 download_id, int64 size);
|
| + void OnResponseCompleted(int32 download_id, int64 size, int os_error);
|
| void OnAllDataSaved(int32 download_id, int64 size);
|
| + void DownloadError(int32 download_id, int64 size, int os_error);
|
|
|
| // Called from a view when a user clicks a UI button or link.
|
| void DownloadCancelled(int32 download_id);
|
| void PauseDownload(int32 download_id, bool pause);
|
| + void RestartDownload(int32 download_id);
|
| void RemoveDownload(int64 download_handle);
|
|
|
| // Called when the download is renamed to its final name.
|
| @@ -276,6 +279,13 @@ class DownloadManager
|
| int request_id,
|
| bool pause);
|
|
|
| + // Makes the ResourceDispatcherHost restart a download request.
|
| + // Called on the IO thread.
|
| + void RestartDownloadRequest(ResourceDispatcherHost* rdh,
|
| + int render_process_id,
|
| + int request_id,
|
| + DownloadCreateInfo* info);
|
| +
|
| // Inform observers that the model has changed.
|
| void NotifyModelChanged();
|
|
|
|
|