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

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

Issue 10915180: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r168573 Created 8 years, 1 month 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: content/browser/download/download_item_factory.h
diff --git a/content/browser/download/download_item_factory.h b/content/browser/download/download_item_factory.h
index 500f491fbdfd1ce1d4fd7708549fac7b9d8fa6ac..e16163a88d4dec57372e5d739407b56c68ed6f70 100644
--- a/content/browser/download/download_item_factory.h
+++ b/content/browser/download/download_item_factory.h
@@ -13,6 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/download_id.h"
+#include "content/public/browser/download_item.h"
class FilePath;
class GURL;
@@ -28,7 +29,6 @@ class DownloadItemImpl;
class DownloadItemImplDelegate;
class DownloadRequestHandleInterface;
struct DownloadCreateInfo;
-struct DownloadPersistentStoreInfo;
class DownloadItemFactory {
public:
@@ -37,7 +37,15 @@ public:
virtual DownloadItemImpl* CreatePersistedItem(
DownloadItemImplDelegate* delegate,
DownloadId download_id,
- const DownloadPersistentStoreInfo& info,
+ const FilePath& path,
+ const GURL& url,
+ const GURL& referrer_url,
+ const base::Time& start_time,
+ const base::Time& end_time,
+ int64 received_bytes,
+ int64 total_bytes,
+ content::DownloadItem::DownloadState state,
+ bool opened,
const net::BoundNetLog& bound_net_log) = 0;
virtual DownloadItemImpl* CreateActiveItem(

Powered by Google App Engine
This is Rietveld 408576698