Chromium Code Reviews| Index: chrome/browser/download/download_file_manager.h |
| diff --git a/chrome/browser/download/download_file_manager.h b/chrome/browser/download/download_file_manager.h |
| index 1d96b5d154bbeaa68bb36a1c36a755ee0557f7e0..a74c94f875a32290cd1ec6c70145b571cfe360f8 100644 |
| --- a/chrome/browser/download/download_file_manager.h |
| +++ b/chrome/browser/download/download_file_manager.h |
| @@ -47,6 +47,7 @@ |
| #include "base/hash_tables.h" |
| #include "base/memory/ref_counted.h" |
| #include "base/timer.h" |
| +#include "chrome/browser/download/download_process_handle.h" |
| #include "ui/gfx/native_widget_types.h" |
| struct DownloadBuffer; |
| @@ -138,12 +139,13 @@ class DownloadFileManager |
| // Creates DownloadFile on FILE thread and continues starting the download |
| // process. |
| void CreateDownloadFile(DownloadCreateInfo* info, |
| + DownloadProcessHandle process, |
| DownloadManager* download_manager, |
| bool hash_needed); |
| // Tells the ResourceDispatcherHost to resume a download request |
| // that was paused to wait for the on-disk file to be created. |
| - void ResumeDownloadRequest(int child_id, int request_id); |
| + void ResumeDownloadRequest(DownloadProcessHandle process); |
|
Randy Smith (Not in Mondays)
2011/05/05 20:25:34
I'd suggest folding this routine into DownloadProc
|
| // Called only on the download thread. |
| DownloadFile* GetDownloadFile(int id); |