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

Unified Diff: content/public/browser/download_interrupt_reason_values.h

Issue 11571025: Initial CL for Downloads resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed CanResumeDownload (unused) and updated comment in RDH::BeginDownload. Created 7 years, 12 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_interrupt_reason_values.h
diff --git a/content/public/browser/download_interrupt_reason_values.h b/content/public/browser/download_interrupt_reason_values.h
index 088052fa6e81163a28612ce2a8f012007db0e746..4ad35b37187ffd36ded682997e6906bec5989ba4 100644
--- a/content/public/browser/download_interrupt_reason_values.h
+++ b/content/public/browser/download_interrupt_reason_values.h
@@ -44,6 +44,10 @@ INTERRUPT_REASON(FILE_BLOCKED, 11)
// reasons. See http://crbug.com/153212.
INTERRUPT_REASON(FILE_SECURITY_CHECK_FAILED, 12)
+// An attempt was made to seek past the end of a file in constructing a
benjhayden 2013/01/06 15:46:04 Why would we seek at all while constructing a new
Randy Smith (Not in Mondays) 2013/01/07 20:54:10 Good point; poor wording. It's constructing a new
+// new file (as part of resuming a previously interrupted download).
+INTERRUPT_REASON(FILE_TOO_SHORT, 13)
+
// Network errors.
// Generic network failure.

Powered by Google App Engine
This is Rietveld 408576698