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

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

Issue 2777093007: [subresource_filter] Add metrics for UI / related things (Closed)
Patch Set: rkaplow review Created 3 years, 9 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/test/BUILD.gn ('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 a411ad83ecea1149225dd8ab548962fce38a0ed4..bb916f39345e21c85843009c7567c62fa48c5a9d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -69307,6 +69307,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Microseconds spent in Document::updateStyle.</summary>
</histogram>
+<histogram name="SubresourceFilter.Actions" enum="SubresourceFilterActions">
+ <owner>csharrison@chromium.org</owner>
+ <summary>
+ Counts of various UI and user action events related to the
+ SubresourceFilter. This will be triggered in response to Content Settings
+ changes, as well as when portions of the UI are shown or interacted with.
+ Main frame navigations are also tracked for ease of comparison and analysis.
+ </summary>
+</histogram>
+
<histogram name="SubresourceFilter.DocumentLoad.Activation.CPUDuration"
units="microseconds">
<owner>pkalinnikov@chromium.org</owner>
@@ -69540,6 +69550,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</histogram>
<histogram name="SubresourceFilter.Prompt.NumVisibility" enum="BooleanVisible">
+ <obsolete>
+ Deprecated in favor of SubresourceFilter.Action
+ </obsolete>
<owner>melandory@chromium.org</owner>
<summary>
Number of times Safebrowsing Subresource Filter decided to toggle visibility
@@ -111959,6 +111972,19 @@ from previous Chrome versions.
<int value="2" label="MemoryCached StyleSheetContents was reused"/>
</enum>
+<enum name="SubresourceFilterActions" type="int">
+ <int value="0" label="New Navigation"/>
+ <int value="1" label="UI Shown"/>
+ <int value="2" label="Details shown"/>
+ <int value="3" label="Learn more clicked"/>
+ <int value="4" label="Content setting blocked from UI"/>
+ <int value="5" label="Content setting allowed"/>
+ <int value="6" label="Content setting blocked"/>
+ <int value="7" label="Content setting allowed (global)"/>
+ <int value="8" label="Content setting blocked (global)"/>
+ <int value="9" label="Content setting wildcard update"/>
+</enum>
+
<enum name="SubresourceFilterActivationDecision" type="int">
<int value="0" label="Unknown"/>
<int value="1" label="Activated"/>
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698