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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2681033002: Add new UMA to record the bytes wasted due to download resumption (Closed)
Patch Set: addressing comments Created 3 years, 10 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:
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUmaStatsEntry.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 8b647fa873307b769a21dc340e6f20e555187554..b58b45780ad255ef5a84ab8dca55c6fcef003b41 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -27974,6 +27974,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram base="true" name="MobileDownload.BytesWasted.ChromeNetworkStack"
+ units="KB">
+ <owner>qinmin@chromium.org</owner>
+ <summary>
+ Android: Records the total data wasted during download due to resumptions.
+ </summary>
+</histogram>
+
<histogram name="MobileDownload.CancelReason" enum="MobileDownloadCancelReason">
<owner>qinmin@chromium.org</owner>
<summary>Android: Records the reason that a download is canceled.</summary>
@@ -113873,6 +113881,13 @@ value.
<affected-histogram name="MobileDownload.BytesDownloaded"/>
</histogram_suffixes>
+<histogram_suffixes name="MobileDownloadBytesWastedTypes" separator=".">
+ <suffix name="Failure" label="Recorded upon download failure."/>
+ <suffix name="Success" label="Recorded upon download success."/>
+ <suffix name="Cancel" label="Recorded upon download Cancel."/>
+ <affected-histogram name="MobileDownload.BytesWasted.ChromeNetworkStack"/>
+</histogram_suffixes>
+
<histogram_suffixes name="MobileDownloadDownloadTimeTypes" separator=".">
<suffix name="ChromeNetworkStack.Cancel"/>
<suffix name="ChromeNetworkStack.Failure"/>
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUmaStatsEntry.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698