| Index: chrome/browser/download/download_manager.h
|
| diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
|
| index 84b83990bdc9d8b103e2cf6de26f95b2a6239305..16d07ae6cedd1ffb136a607a2330a6e8b741132a 100644
|
| --- a/chrome/browser/download/download_manager.h
|
| +++ b/chrome/browser/download/download_manager.h
|
| @@ -42,6 +42,7 @@
|
| #include "base/scoped_ptr.h"
|
| #include "base/time.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"
|
|
|
| @@ -197,7 +198,7 @@ class DownloadManager
|
| DownloadCreateInfo info, int64 db_handle);
|
|
|
| // Display a new download in the appropriate browser UI.
|
| - void ShowDownloadInBrowser(const DownloadCreateInfo& info,
|
| + void ShowDownloadInBrowser(DownloadProcessHandle process_handle,
|
| DownloadItem* download);
|
|
|
| // The number of in progress (including paused) downloads.
|
| @@ -289,8 +290,7 @@ class DownloadManager
|
|
|
| // Download cancel helper function.
|
| void DownloadCancelledInternal(int download_id,
|
| - int render_process_id,
|
| - int request_id);
|
| + DownloadProcessHandle process_handle);
|
|
|
| // All data has been downloaded.
|
| // |hash| is sha256 hash for the downloaded file. It is empty when the hash
|
| @@ -306,8 +306,7 @@ class DownloadManager
|
| // Makes the ResourceDispatcherHost pause/un-pause a download request.
|
| // Called on the IO thread.
|
| void PauseDownloadRequest(ResourceDispatcherHost* rdh,
|
| - int render_process_id,
|
| - int request_id,
|
| + DownloadProcessHandle process_handle,
|
| bool pause);
|
|
|
| // Inform observers that the model has changed.
|
|
|