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( |