Index: chrome/browser/download/download_manager.h |
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h |
index 79018bec672195496af041f0f6dbaff25c8d91de..c8f934d19c62b2de275c806ec5bc56f147d1d8ab 100644 |
--- a/chrome/browser/download/download_manager.h |
+++ b/chrome/browser/download/download_manager.h |
@@ -42,8 +42,8 @@ |
#include "base/scoped_ptr.h" |
#include "base/time.h" |
#include "chrome/browser/download/download_item.h" |
+#include "chrome/browser/download/download_request_handle.h" |
#include "chrome/browser/download/download_status_updater_delegate.h" |
-#include "chrome/browser/download/download_process_handle.h" |
#include "chrome/browser/ui/shell_dialogs.h" |
#include "content/browser/browser_thread.h" |
@@ -124,7 +124,6 @@ class DownloadManager |
// 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 RemoveDownload(int64 download_handle); |
// Determine if the download is ready for completion, i.e. has had |
@@ -302,7 +301,7 @@ class DownloadManager |
// |process_handle| is passed by value because it is ultimately passed to |
// other threads, and this way we don't have to worry about object lifetimes. |
void DownloadCancelledInternal(int download_id, |
- DownloadProcessHandle process_handle); |
+ DownloadRequestHandle request_handle); |
// All data has been downloaded. |
// |hash| is sha256 hash for the downloaded file. It is empty when the hash |
@@ -315,14 +314,6 @@ class DownloadManager |
// Updates the app icon about the overall download progress. |
void UpdateAppIcon(); |
- // Makes the ResourceDispatcherHost pause/un-pause a download request. |
- // Called on the IO thread. |
- // |process_handle| is passed by value because this is called from other |
- // threads, and this way we don't have to worry about object lifetimes. |
- void PauseDownloadRequest(ResourceDispatcherHost* rdh, |
- DownloadProcessHandle process_handle, |
- bool pause); |
- |
// Inform observers that the model has changed. |
void NotifyModelChanged(); |