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..0e4c5b2f5ab2e42beefd9f80d63aed860a244488 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; |
| @@ -143,7 +144,7 @@ class DownloadFileManager |
| // 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); |
|
Paweł Hajdan Jr.
2011/05/09 19:47:31
nit: Why not a pointer?
ahendrickson
2011/05/10 18:04:43
Because it's called from other threads, and this w
Paweł Hajdan Jr.
2011/05/10 18:58:04
I see, makes sense. Could you add a short comment
|
| // Called only on the download thread. |
| DownloadFile* GetDownloadFile(int id); |