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

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: . Created 8 years, 3 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: 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 db32503d1355da6c5deb87960823c56ff61f4ac0..348a02d31ad3ab7e06837e1d6c9ed3d0a5f8a5da 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"
struct DownloadCreateInfo;
@@ -22,11 +23,6 @@ class DownloadRequestHandleInterface;
class FilePath;
class GURL;
-namespace content {
-class DownloadItem;
-struct DownloadPersistentStoreInfo;
-}
-
namespace net {
class BoundNetLog;
}
@@ -40,7 +36,15 @@ public:
virtual DownloadItemImpl* CreatePersistedItem(
DownloadItemImplDelegate* delegate,
content::DownloadId download_id,
- const content::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