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

Unified Diff: content/browser/download/download_file_manager.h

Issue 8371009: Make passing of DownloadRequestHandle separate from DownloadCreateInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 years, 2 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
« no previous file with comments | « content/browser/download/download_file.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_manager.h
diff --git a/content/browser/download/download_file_manager.h b/content/browser/download/download_file_manager.h
index 9ee8b978d1b9e8781ff903bf0430ab2600fa3812..bf6e07beed78c91c2d7e7215b2e970b8ffd8c20d 100644
--- a/content/browser/download/download_file_manager.h
+++ b/content/browser/download/download_file_manager.h
@@ -49,7 +49,6 @@
#include "base/memory/ref_counted.h"
#include "base/timer.h"
#include "content/browser/download/download_id.h"
-#include "content/browser/download/download_request_handle.h"
#include "content/browser/download/interrupt_reasons.h"
#include "content/common/content_export.h"
#include "net/base/net_errors.h"
@@ -59,6 +58,7 @@ struct DownloadCreateInfo;
struct DownloadSaveInfo;
class DownloadFile;
class DownloadManager;
+class DownloadRequestHandle;
class FilePath;
class GURL;
class ResourceDispatcherHost;
@@ -81,7 +81,8 @@ class CONTENT_EXPORT DownloadFileManager
void Shutdown();
// Called on UI thread to make DownloadFileManager start the download.
- void StartDownload(DownloadCreateInfo* info);
+ void StartDownload(DownloadCreateInfo* info,
+ const DownloadRequestHandle& request_handle);
// Handlers for notifications sent from the IO thread and run on the
// FILE thread.
@@ -144,6 +145,7 @@ class CONTENT_EXPORT DownloadFileManager
// Creates DownloadFile on FILE thread and continues starting the download
// process.
void CreateDownloadFile(DownloadCreateInfo* info,
+ const DownloadRequestHandle& request_handle,
DownloadManager* download_manager,
bool hash_needed);
« no previous file with comments | « content/browser/download/download_file.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698