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

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 Pawel's comment. 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 2d6922b4388c32e4a705c3991fa7cb9c084d4444..aef4f4ff06d8a4fc25a36760d2b0c5fab45e9189 100644
--- a/content/public/browser/download_item.h
+++ b/content/public/browser/download_item.h
@@ -127,6 +127,9 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
// paused.
virtual void Resume() = 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
« no previous file with comments | « content/public/browser/download_interrupt_reason_values.h ('k') | content/public/browser/download_url_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698