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

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

Issue 2752603002: Propagate server response error and interrupt the download. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | content/browser/download/download_job.cc » ('j') | content/browser/download/download_worker.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_job.h
diff --git a/content/browser/download/download_job.h b/content/browser/download/download_job.h
index 836cfdaa36679789b58188b2cded13af1f9c8d00..c69ea20bf106b9ddef07f5648e24984dfc864ef0 100644
--- a/content/browser/download/download_job.h
+++ b/content/browser/download/download_job.h
@@ -41,6 +41,7 @@ class CONTENT_EXPORT DownloadJob {
protected:
void StartDownload() const;
+ void Interrupt(DownloadInterruptReason reason);
DownloadItemImpl* download_item_;
« no previous file with comments | « no previous file | content/browser/download/download_job.cc » ('j') | content/browser/download/download_worker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698