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

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

Issue 10665049: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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..55e8f9082e0da479c486dcc32cbc8853f66d7f9f 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;
@@ -24,7 +25,6 @@ class GURL;
namespace content {
class DownloadItem;
-struct DownloadPersistentStoreInfo;
}
namespace net {
@@ -40,7 +40,15 @@ public:
virtual DownloadItemImpl* CreatePersistedItem(
Randy Smith (Not in Mondays) 2012/08/28 13:11:49 We need a better name for this. Completed item?
benjhayden 2012/09/10 19:02:56 There can also be IN_PROGRESS entries in the histo
Randy Smith (Not in Mondays) 2012/09/11 16:30:34 They still end up being finished when they're put
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