Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: chrome/browser/download/download_util.h

Issue 6932046: Added DownloadProcessHandle class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup per Pawel's comments. Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_util.h
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
index 170b05c22862629d7391739f048420126835596f..5cf094c76efc59345b991775e5097c479be5d545 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/download_util.h
@@ -13,6 +13,7 @@
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/string16.h"
+#include "chrome/browser/download/download_process_handle.h"
#include "ui/gfx/native_widget_types.h"
#if defined(TOOLKIT_VIEWS)
@@ -243,8 +244,7 @@ void DownloadUrl(const GURL& url,
// Tells the resource dispatcher host to cancel a download request.
// Must be called on the IO thread.
void CancelDownloadRequest(ResourceDispatcherHost* rdh,
- int render_process_id,
- int request_id);
+ DownloadProcessHandle process_handle);
Paweł Hajdan Jr. 2011/05/09 19:47:31 nit: Why not a pointer?
ahendrickson 2011/05/10 18:04:43 Because it is ultimately passed to another thread,
// Sends a notification on downloads being initiated
// Must be called on the UI thread.

Powered by Google App Engine
This is Rietveld 408576698