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

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

Issue 2696973002: Allow Safe Browsing backend to select downloads to upload. (Closed)
Patch Set: Switch histogram to use enum, per isherman 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/common/safe_browsing/csd.proto ('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 a48b639be0332459b01b6c1aa2dfa29ed3bab85a..d0da00870024b1226f6f2dad0881827cd473773f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -58444,6 +58444,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="SBDownloadFeedback.UploadRequestedByServer"
+ enum="DownloadUploadRequestedByServer">
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ For each non-SAFE file, records whether the server requested that that file
+ be uploaded.
+
+ Logged before checking the file size, so it may be dropped there.
+ </summary>
+</histogram>
+
<histogram name="SBDownloadFeedback.UploadResult"
enum="SBDownloadFeedbackUploadResult">
<owner>mattm@chromium.org</owner>
@@ -85771,6 +85782,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="6" label="Initiated by Automatic Resumption"/>
</enum>
+<enum name="DownloadUploadRequestedByServer" type="int">
+ <int value="0" label="No Upload"/>
+ <int value="1" label="Upload Requested"/>
+</enum>
+
<enum name="DragDropEventSource" type="int">
<int value="0" label="Mouse"/>
<int value="1" label="Touch"/>
« no previous file with comments | « chrome/common/safe_browsing/csd.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698