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

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

Issue 2752603002: Propagate server response error and interrupt the download. (Closed)
Patch Set: Merge recent changes in the tree. 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') | no next file with comments »
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 532447a9e7cf9119ce9690c4ee061593f95ced3b..bd101c618d961c7213c4c4a1550e8261de4a434f 100644
--- a/content/browser/download/download_job.h
+++ b/content/browser/download/download_job.h
@@ -42,6 +42,7 @@ class CONTENT_EXPORT DownloadJob {
protected:
void StartDownload() const;
+ void Interrupt(DownloadInterruptReason reason);
// Add a byte stream to the download sink.
void AddByteStream(std::unique_ptr<ByteStreamReader> stream_reader,
« no previous file with comments | « no previous file | content/browser/download/download_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698