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

Unified Diff: content/public/browser/download_item.h

Issue 11571025: Initial CL for Downloads resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 7 years, 11 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/public/browser/download_item.h
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
index 9eaf629612e7ca77f2f89701deba996ac6da7bd2..51a6de3ec10f51993dd97c379fed594654f1a9a7 100644
--- a/content/public/browser/download_item.h
+++ b/content/public/browser/download_item.h
@@ -27,6 +27,7 @@
#include "content/public/browser/download_danger_type.h"
#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/common/page_transition_types.h"
+#include "net/base/net_log.h"
benjhayden 2013/01/08 16:41:17 necessary?
Randy Smith (Not in Mondays) 2013/01/09 22:34:37 Apparently not :-}.
class FilePath;
class GURL;
@@ -122,6 +123,9 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
// Allow the user to temporarily pause a download or resume a paused download.
virtual void TogglePause() = 0;
+ // Resume a download that's been interrupted.
+ virtual void ResumeInterruptedDownload() = 0;
+
// Cancel the download operation. We need to distinguish between cancels at
// exit (DownloadManager destructor) from user interface initiated cancels
// because at exit, the history system may not exist, and any updates to it

Powered by Google App Engine
This is Rietveld 408576698