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

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

Issue 2806653002: Add UMA to track why a download is non-parallel when enabled parallel (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.cc
diff --git a/content/browser/download/download_stats.cc b/content/browser/download/download_stats.cc
index 92533fbf3d2d0efbe24ead9b677bc553dcb9d9f3..b33a8cb73c5ec12e1b5ddf5bcf873e743d321279 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -816,6 +816,11 @@ void RecordParallelDownloadStats(
}
}
+void RecordParallelDownloadFailReason(ParallelDownloadFailReason reason) {
+ UMA_HISTOGRAM_ENUMERATION("Download.ParallelDownloadFailReason", reason,
+ ParallelDownloadFailReason::MAX_COUNT);
+}
+
void RecordDownloadFileRenameResultAfterRetry(
base::TimeDelta time_since_first_failure,
DownloadInterruptReason interrupt_reason) {

Powered by Google App Engine
This is Rietveld 408576698