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

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

Issue 10831302: Download resumption - Preliminary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed signed/unsigned compare issue. 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_manager_impl.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index 682588dff61b9f54369600aaead098ec0e23f732..d16ef6bcc02437ad1efbba4ea7d74fa6216a29b2 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -18,6 +18,7 @@
#include "content/browser/download/download_item_impl_delegate.h"
#include "content/common/content_export.h"
#include "content/public/browser/download_manager.h"
+#include "content/public/browser/download_url_parameters.h"
namespace net {
class BoundNetLog;
@@ -99,8 +100,7 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
virtual ~DownloadManagerImpl();
// Creates the download item. Must be called on the UI thread.
- virtual DownloadItemImpl* CreateDownloadItem(
- DownloadCreateInfo* info, const net::BoundNetLog& bound_net_log);
+ virtual DownloadItemImpl* CreateDownloadItem(DownloadCreateInfo* info);
// Get next download id.
DownloadId GetNextId();
@@ -136,6 +136,9 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
DownloadItemImpl* item,
const ShouldOpenDownloadCallback& callback) OVERRIDE;
virtual void CheckForFileRemoval(DownloadItemImpl* download_item) OVERRIDE;
+ virtual void ResumeInterruptedDownload(
+ scoped_ptr<content::DownloadUrlParameters> params,
+ content::DownloadId id) OVERRIDE;
virtual void DownloadStopped(DownloadItemImpl* download) OVERRIDE;
virtual void DownloadCompleted(DownloadItemImpl* download) OVERRIDE;
virtual void DownloadOpened(DownloadItemImpl* download) OVERRIDE;
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698