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

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

Issue 2748103014: Allow the initial request to take over failed parallel requests. (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
Index: content/browser/download/download_file_impl.h
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index 2a68ca9e4ead53ea9d8d3bf030fd09e2250f98ec..7dd8d987db6d888a37d702ec2c8e5f9826aad0c8 100644
--- a/content/browser/download/download_file_impl.h
+++ b/content/browser/download/download_file_impl.h
@@ -203,6 +203,10 @@ class CONTENT_EXPORT DownloadFileImpl : public DownloadFile {
// Otherwise, return the current file size.
int64_t TotalBytesReceived() const;
+ // Helper method to handle stream error
+ void HandleStreamError(SourceStream* source_stream,
+ DownloadInterruptReason reason);
+
net::NetLogWithSource net_log_;
// The base file instance.
« no previous file with comments | « no previous file | content/browser/download/download_file_impl.cc » ('j') | content/browser/download/download_file_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698