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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2195483002: Add UMA to record why chrome shows generic warning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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/browser/download/chrome_download_manager_delegate.cc ('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 cc20b23c108e613d831be1d46d31d05bf840aaef..c491c2776f014aab231e5f875362a3f3a9d8f9e6 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10564,6 +10564,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Download.DangerousFile.Reason" enum="DangerousFile.Reason">
+ <owner>jialiul@chromium.org</owner>
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ Indicates why a download is marked as DANGEROUS_FILE. Grouped by reason,
+ such as Safe Browsing (SB) service is not available, and SB returns UNKOWN
+ or SAFE verdict. The sum of all reasons should roughly equal to the
+ DANGEROUS_FILE bucket count in Download.DownloadWarningShown.
+ </summary>
+</histogram>
+
<histogram name="Download.DangerousFile.UserDiscard"
enum="DownloadItem.DangerousFileType">
<owner>asanka@chromium.org</owner>
@@ -70125,6 +70136,12 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="2" label="Clock Changed"/>
</enum>
+<enum name="DangerousFile.Reason" type="int">
+ <int value="0" label="Safe Browsing is not available"/>
+ <int value="1" label="Safe Browsing returns UNKOWN"/>
+ <int value="2" label="Safe Browsing returns SAFE"/>
+</enum>
+
<enum name="DarkResumeScanRetryResult" type="int">
<int value="0" label="Not Connected"/>
<int value="1" label="Connected"/>
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698