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

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: Polish on the comment. 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
« no previous file with comments | « content/browser/download/download_stats.h ('k') | content/browser/download/parallel_download_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..72135e29961bb7eec5104228af86ccddaef3d062 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -816,6 +816,11 @@ void RecordParallelDownloadStats(
}
}
+void RecordParallelDownloadCreationEvent(ParallelDownloadCreationEvent event) {
+ UMA_HISTOGRAM_ENUMERATION("Download.ParallelDownload.CreationEvent", event,
+ ParallelDownloadCreationEvent::COUNT);
+}
+
void RecordDownloadFileRenameResultAfterRetry(
base::TimeDelta time_since_first_failure,
DownloadInterruptReason interrupt_reason) {
« no previous file with comments | « content/browser/download/download_stats.h ('k') | content/browser/download/parallel_download_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698