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

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

Issue 15881012: Implement safebrowsing download feedback service, enabled for dev & canary only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 7 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:
View side-by-side diff with in-line comments
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 9ca16183f1181667e87f82eac7fd4d815435e95f..7c7163228a3c38f2e4fc6f66e04200ca1c9e1921 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -839,6 +839,13 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="clickjacking.report_and_discard_download" units="ms">
+ <summary>
+ Time between &quot;Report and Discard&quot; button being shown and it being
+ clicked.
+ </summary>
+</histogram>
+
<histogram name="Clipboard.IncognitoUseCase" enum="ClipboardAction">
<obsolete>
Deprecated as of 4/2013, experiment confirmed correctness of our patch.
@@ -9947,6 +9954,53 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="SBDownloadFeedback.Activations" enum="DownloadItem.DangerType">
+ <summary>
+ Count of times download feedback has been started, broken down by danger
+ type.
+ </summary>
+</histogram>
+
+<histogram name="SBDownloadFeedback.ActiveFeedbacks">
+ <summary>
+ When a new download feedback request is added, records the number of
+ download requests currently active and/or pending.
+ </summary>
+</histogram>
+
+<histogram name="SBDownloadFeedback.Shown" enum="DownloadItem.DangerType">
+ <summary>
+ Count of times download feedback button has been shown, broken down by
+ danger type.
+ </summary>
+</histogram>
+
+<histogram name="SBDownloadFeedback.SizeEligibleKB" units="KB">
+ <summary>
+ Size of downloads that were of the correct danger type, regardless if they
+ meet the max file size check or if they are actually uploaded or not.
+ </summary>
+</histogram>
+
+<histogram name="SBDownloadFeedback.SizeFailure" units="bytes">
+ <summary>
+ Size of downloads that failed to be uploaded to the feedback service.
+ </summary>
+</histogram>
+
+<histogram name="SBDownloadFeedback.SizeSuccess" units="bytes">
+ <summary>
+ Size of downloads that were successfully uploaded to the feedback service.
+ </summary>
+</histogram>
+
+<histogram name="SBDownloadFeedback.UploadResult"
+ enum="SBDownloadFeedbackUploadResult">
+ <summary>
+ Final result of attempt to upload binary to download feedback service.
+ </summary>
+</histogram>
+
<histogram name="Search.DefaultSearchProvider" enum="OmniboxSearchEngine">
<summary>
The id of the default search engine that is loaded after Chrome startup. See
@@ -11894,6 +11948,17 @@ other types of suffix sets.
<int value="2" label="GET_NON_CACHABLE"/>
</enum>
+<enum name="DownloadItem.DangerType" type="int">
+ <int value="0" label="NOT_DANGEROUS"/>
+ <int value="1" label="DANGEROUS_FILE"/>
+ <int value="2" label="DANGEROUS_URL"/>
+ <int value="3" label="DANGEROUS_CONTENT"/>
+ <int value="4" label="MAYBE_DANGEROUS_CONTENT"/>
+ <int value="5" label="UNCOMMON_CONTENT"/>
+ <int value="6" label="USER_VALIDATED"/>
+ <int value="7" label="DANGEROUS_HOST"/>
+</enum>
+
<enum name="DriveCacheDBOpenStatus" type="int">
<int value="0" label="Success"/>
<int value="1" label="Corrupt database"/>
@@ -15862,6 +15927,17 @@ other types of suffix sets.
<int value="5" label="MODEL_MISSING_FIELDS"/>
</enum>
+<enum name="SBDownloadFeedbackUploadResult" type="int">
+ <int value="0" label="SUCCESS"/>
+ <int value="1" label="UPLOAD_SUCCESS"/>
+ <int value="2" label="UPLOAD_CANCELLED"/>
+ <int value="3" label="UPLOAD_METADATA_NET_ERROR"/>
+ <int value="4" label="UPLOAD_METADATA_RESPONSE_ERROR"/>
+ <int value="5" label="UPLOAD_FILE_NET_ERROR"/>
+ <int value="6" label="UPLOAD_FILE_RESPONSE_ERROR"/>
+ <int value="7" label="UPLOAD_COMPLETE_RESPONSE_ERROR"/>
+</enum>
+
<enum name="ShillTerminationActionResult" type="int">
<summary>
The termination action result types come from TerminationActionResult in
« chrome/browser/ui/views/download/download_item_view.cc ('K') | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698