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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1849673002: Add metrics for user manually added exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iterate over websiteSettingsInfo and change metrics buckets Created 4 years, 8 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/content_settings/core/browser/host_content_settings_map.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 4d039a0327c757f69024ad623ec8de8a2cecbebb..fe32e7d77a1d9dc43d160026521ef9b9eb87246a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5965,6 +5965,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ContentSettings.NumberOfSingleTypeExceptions">
+ <owner>lshang@chromium.org</owner>
+ <summary>
+ The number of user defined content setting exceptions at browser start.
+ Suffixed with the name of content setting types.
+ </summary>
+</histogram>
+
<histogram name="ContentSettings.PermissionActions" enum="PermissionAction">
<obsolete>
Removed 11/2015 in favor of Permissions.Action.*
@@ -88120,17 +88128,35 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="PLT.LoadType"/>
</histogram_suffixes>
-<histogram_suffixes name="ContentSettingsTypes">
- <suffix name="MidiSysEx" label="Midi SysEx permsision actions"/>
- <suffix name="PushMessaging" label="Push messaging permission actions"/>
- <suffix name="Notifications" label="Notification permission actions"/>
- <suffix name="Geolocation" label="Geolocation permission actions"/>
- <suffix name="ProtectedMedia" label="Protected media permission actions"/>
- <suffix name="DurableStorage" label="Durable Storage permission actions"/>
- <affected-histogram name="ContentSettings.PermissionActions"/>
- <affected-histogram name="ContentSettings.PermissionActionsInsecureOrigin"/>
- <affected-histogram name="ContentSettings.PermissionActionsSecureOrigin"/>
- <affected-histogram name="Permissions.Requested.CrossOrigin"/>
+<histogram_suffixes name="ContentSettingsType" separator=".">
+ <suffix name="cookies" label="Cookies exceptions"/>
+ <suffix name="images" label="Images exceptions"/>
+ <suffix name="javascript" label="JavaScript exceptions"/>
+ <suffix name="plugins" label="Plugins exceptions"/>
+ <suffix name="popups" label="Popups exceptions"/>
+ <suffix name="geolocation" label="Geolocation exceptions"/>
+ <suffix name="notifications" label="Notification exceptions"/>
+ <suffix name="fullscreen" label="Fullscreen exceptions"/>
+ <suffix name="mouselock" label="Mouse lock exceptions"/>
+ <suffix name="media-stream-mic" label="Microphone exceptions"/>
+ <suffix name="media-stream-camera" label="Camera exceptions"/>
+ <suffix name="ppapi-broker" label="Ppapi broker exceptions"/>
+ <suffix name="automatic-downloads" label="Automatic downloads exceptions"/>
+ <suffix name="midi-sysex" label="Midi exceptions"/>
+ <suffix name="push-messaging" label="Push messaging exceptions"/>
+ <suffix name="protected-media-identifier" label="Protected media exceptions"/>
+ <suffix name="durable-storage" label="Durable Storage Exceptions"/>
+ <suffix name="keygen" label="Keygen exceptions"/>
+ <suffix name="background-sync" label="Background sync exceptions"/>
+ <suffix name="protocol-handler" label="Protocol handler exceptions"/>
+ <suffix name="mixed-script" label="Mixed script exceptions"/>
+ <suffix name="bluetooth-guard" label="Bluetooth guard exceptions"/>
+ <suffix name="auto-select-certificate" label="Auto-select cert exceptions"/>
+ <suffix name="ssl-cert-decisions" label="SSL cert decisions exceptions"/>
+ <suffix name="app-banner" label="App banner exceptions"/>
+ <suffix name="site-engagement" label="Site engagement exceptions"/>
+ <suffix name="usb-chooser-data" label="USB chooser data exceptions"/>
+ <affected-histogram name="ContentSettings.NumberOfSingleTypeExceptions"/>
</histogram_suffixes>
<histogram_suffixes name="ContextMenuType" separator=".">
@@ -91443,6 +91469,19 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="PerformanceMonitor.HighCPU"/>
</histogram_suffixes>
+<histogram_suffixes name="PermissionTypes">
+ <suffix name="MidiSysEx" label="Midi SysEx permsision actions"/>
+ <suffix name="PushMessaging" label="Push messaging permission actions"/>
+ <suffix name="Notifications" label="Notification permission actions"/>
+ <suffix name="Geolocation" label="Geolocation permission actions"/>
+ <suffix name="ProtectedMedia" label="Protected media permission actions"/>
+ <suffix name="DurableStorage" label="Durable Storage permission actions"/>
+ <affected-histogram name="ContentSettings.PermissionActions"/>
+ <affected-histogram name="ContentSettings.PermissionActionsInsecureOrigin"/>
+ <affected-histogram name="ContentSettings.PermissionActionsSecureOrigin"/>
+ <affected-histogram name="Permissions.Requested.CrossOrigin"/>
+</histogram_suffixes>
raymes 2016/04/19 05:52:33 I think we can merge this with the one below
+
<histogram_suffixes name="PermissionTypes" separator=".">
<suffix name="MidiSysEx" label="Midi SysEx permsision actions"/>
<suffix name="PushMessaging" label="Push messaging permission actions"/>
« no previous file with comments | « components/content_settings/core/browser/host_content_settings_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698