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

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

Issue 2058593002: Add UMA for studying download cancellation reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 6 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 | « content/public/browser/android/download_controller_android.h ('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 6088325e430bcd12c478265168009988b8ef9d23..44a0cc50bacbc954a7bb7dd80aa1f36b9b40e8df 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -23616,6 +23616,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="MobileDownload.CancelReason" enum="MobileDownloadCancelReason">
+ <owner>qinmin@chromium.org</owner>
+ <summary>Android: Records the reason that a download is canceled.</summary>
+</histogram>
+
<histogram name="MobileDownload.DownloadResumption"
enum="MobileDownloadResumption">
<owner>qinmin@chromium.org</owner>
@@ -81369,6 +81374,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="1" label="Failure"/>
</enum>
+<enum name="MobileDownloadCancelReason" type="int">
+ <int value="0" label="Not canceled"/>
+ <int value="1" label="Click on the cancel button"/>
+ <int value="2" label="Notification dismissed"/>
+ <int value="3" label="Overwrite infobar dismissed"/>
+ <int value="4" label="No storage permission"/>
+</enum>
+
<enum name="MobileDownloadInterceptFailureReason" type="int">
<int value="0" label="No failure"/>
<int value="1" label="Empty url"/>
« no previous file with comments | « content/public/browser/android/download_controller_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698