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

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

Issue 2794683002: set content length limit if half open range request fails (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_job.h
diff --git a/content/browser/download/download_job.h b/content/browser/download/download_job.h
index 25635309c94a5bd4eb9ccc3387dafcba0270ebd0..e5304906dd6f0a327db73c3e6a119c3f99c080cd 100644
--- a/content/browser/download/download_job.h
+++ b/content/browser/download/download_job.h
@@ -53,6 +53,9 @@ class CONTENT_EXPORT DownloadJob {
int64_t offset,
int64_t length);
+ // Sets the limit on the content length.
+ void SetContentLengthLimit(int64_t limit);
+
DownloadItemImpl* download_item_;
private:

Powered by Google App Engine
This is Rietveld 408576698