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

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

Issue 2832223004: interrupt and resume download with CONTENT_LENGTH_MISMATCH errors (Closed)
Patch Set: Created 3 years, 8 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_stats.h
diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
index a7d706a9155af47e2b638b52ea6688eb3a17e199..092957e0231d66ff98a0396b39425985f05250a7 100644
--- a/content/browser/download/download_stats.h
+++ b/content/browser/download/download_stats.h
@@ -103,6 +103,17 @@ enum DownloadCountTypes {
// Downloads that are actually completed in normal profile.
COMPLETED_COUNT_NORMAL_PROFILE,
+ // Downloads that are completed with a content length mismatch error.
+ COMPLETED_WITH_CONTENT_LENGTH_MISMATCH_COUNT,
+
+ // After a download is interrupted with a content length mismatch error, more
+ // bytes is received when resuming the download
David Trainor- moved to gerrit 2017/04/25 03:50:41 is -> are. Add '.' at end.
qinmin 2017/04/25 19:27:47 Done.
+ MORE_BYTES_RECEIVED_AFTER_CONTENT_LENGTH_MISMATCH_COUNT,
+
+ // After a download is interrupted with a content length mismatch error, no
+ // bytes is received when resuming the download.
David Trainor- moved to gerrit 2017/04/25 03:50:41 is -> are
qinmin 2017/04/25 19:27:47 Done.
+ NO_BYTES_RECEIVED_AFTER_CONTENT_LENGTH_MISMATCH_COUNT,
+
DOWNLOAD_COUNT_TYPES_LAST_ENTRY
};

Powered by Google App Engine
This is Rietveld 408576698