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

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

Issue 7112011: Change DownloadProcessHandle to be more of an encapsulated class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded include file. Created 9 years, 6 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 3fedb5abfc96b2c1947f8fc5a76c7a05f6ebeca2..8916f3be09f2282002a5ccde4d286a3df15f99fe 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/download_util.h
@@ -13,7 +13,6 @@
#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)
@@ -248,13 +247,6 @@ void DownloadUrl(const GURL& url,
int render_view_id,
const content::ResourceContext* context);
-// Tells the resource dispatcher host to cancel a download request.
-// Must be called on the IO thread.
-// |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 CancelDownloadRequest(ResourceDispatcherHost* rdh,
- DownloadProcessHandle process_handle);
-
// Sends a notification on downloads being initiated
// Must be called on the UI thread.
void NotifyDownloadInitiated(int render_process_id, int render_view_id);

Powered by Google App Engine
This is Rietveld 408576698