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

Unified Diff: content/browser/download/download_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_item.cc ('k') | content/browser/download/download_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager.h
diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h
index d746fa61d861e3b4d5984d189d1403c10793a548..b080a8d2c03848a91d6db57278aa38092cf2f132 100644
--- a/content/browser/download/download_manager.h
+++ b/content/browser/download/download_manager.h
@@ -46,13 +46,13 @@
#include "base/time.h"
#include "content/browser/browser_thread.h"
#include "content/browser/download/download_item.h"
-#include "content/browser/download/download_request_handle.h"
#include "content/browser/download/download_status_updater_delegate.h"
#include "content/browser/download/interrupt_reasons.h"
#include "content/common/content_export.h"
#include "net/base/net_errors.h"
class DownloadFileManager;
+class DownloadRequestHandle;
class DownloadStatusUpdater;
class GURL;
class ResourceDispatcherHost;
@@ -246,7 +246,8 @@ class CONTENT_EXPORT DownloadManager
FilePath last_download_path() { return last_download_path_; }
// Creates the download item. Must be called on the UI thread.
- void CreateDownloadItem(DownloadCreateInfo* info);
+ void CreateDownloadItem(DownloadCreateInfo* info,
+ const DownloadRequestHandle& request_handle);
// Clears the last download path, used to initialize "save as" dialogs.
void ClearLastDownloadPath();
« no previous file with comments | « content/browser/download/download_item.cc ('k') | content/browser/download/download_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698