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

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

Issue 2832223004: interrupt and resume download with CONTENT_LENGTH_MISMATCH errors (Closed)
Patch Set: fix tests 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 bc9a706f1cdb21290e89b4141778ab00a9331271..0ad1bb006e0e3dc3d48bbb8a28d5e5c9216ad6c8 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 are received when resuming the download.
+ MORE_BYTES_RECEIVED_AFTER_CONTENT_LENGTH_MISMATCH_COUNT,
+
+ // After a download is interrupted with a content length mismatch error, no
+ // bytes are received when resuming the download.
+ NO_BYTES_RECEIVED_AFTER_CONTENT_LENGTH_MISMATCH_COUNT,
+
DOWNLOAD_COUNT_TYPES_LAST_ENTRY
};
« no previous file with comments | « content/browser/download/download_request_core.cc ('k') | content/public/browser/download_interrupt_reason_values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698