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

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

Issue 2703093002: Add metrics for tracking subresource filter activation suppression. (Closed)
Patch Set: address comments 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 | « components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.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 f7fd8937c039f19f0327adf824671dab93cf2849..359b30e780bcfbdec648e19a259bc3177590b26b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -43938,6 +43938,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Events related to Google CAPTCHA pages being seen by users.</summary>
</histogram>
+<histogram name="PageLoad.Clients.SubresourceFilter.ActivationDecision"
+ enum="SubresourceFilterActivationDecision">
+ <owner>bmcquade@chromium.org</owner>
+ <summary>
+ Records the policy decision to activate subresource filtering for a page
+ load. 'Activated' indicates that subresource filtering was activated. All
+ other reasons indicate that subresource filtering was not activated. Page
+ loads where subresource filtering was activated ('Activated') and at least
+ one subresource matched the subresource filter are counted in
+ PageLoad.Clients.SubresourceFilter.Count.
+ </summary>
+</histogram>
+
<histogram name="PageLoad.Clients.SubresourceFilter.Count" enum="Boolean">
<owner>bmcquade@chromium.org</owner>
<summary>
@@ -108588,6 +108601,15 @@ value.
<int value="2" label="MemoryCached StyleSheetContents was reused"/>
</enum>
+<enum name="SubresourceFilterActivationDecision" type="int">
+ <int value="0" label="Unknown"/>
+ <int value="1" label="Activated"/>
+ <int value="2" label="Disabled"/>
+ <int value="3" label="Unsupported scheme"/>
+ <int value="4" label="URL whitelisted"/>
+ <int value="5" label="Activation list not matched"/>
+</enum>
+
<enum name="SubresourceFilterActivationState" type="int">
<int value="0" label="Disabled"/>
<int value="1" label="DryRun"/>
@@ -117717,6 +117739,8 @@ value.
label="Restricted to new navigations (link clicks, URLs typed into the
URL box, etc)."/>
<affected-histogram
+ name="PageLoad.Clients.SubresourceFilter.ActivationDecision"/>
+ <affected-histogram
name="PageLoad.PaintTiming.NavigationToFirstContentfulPaint"/>
<affected-histogram name="PageLoad.ParseTiming.NavigationToParseStart"/>
</histogram_suffixes>
« no previous file with comments | « components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698