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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1401073002: Add Rappor reporting for grant/deny/cancel/ignore of Mediastream permissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace unusual case with todo Created 5 years, 1 month 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/browser/permissions/permission_uma_util.cc ('k') | tools/metrics/rappor/rappor.xml » ('j') | 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 85dbe53b06b4dffb2badb6f6f8f1528700e136fb..838be7895c729a9a8ccf3470addcee6e68f02d0c 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -17881,6 +17881,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</histogram>
<histogram name="Media.DevicePermissionActions" enum="DevicePermissionActions">
+ <obsolete>
+ Removed 10/2015 in favor of Permissions.Action.
+ </obsolete>
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>
Measures the actions taken in the media infobar, which prompts the users for
@@ -31545,6 +31548,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Permissions.Action" enum="PermissionAction">
+ <owner>miguelg@chromium.org</owner>
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Tracks whether a permission was granted, rejected, etc. The suffix of the
+ histogram indicates which particular permission.
+ </summary>
+</histogram>
+
<histogram name="Permissions.Requested.CrossOrigin" enum="PermissionStatus">
<owner>keenanb@google.com</owner>
<owner>jww@chromium.org</owner>
@@ -76934,6 +76946,19 @@ 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>
+
<histogram_suffixes name="ContextMenuType" separator=".">
<suffix name="Link" label="The context menu was shown for a link"/>
<suffix name="Image" label="The context menu was shown for an image"/>
@@ -80044,17 +80069,10 @@ 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 name="PermissionTypes" separator=".">
+ <suffix name="AudioCapture" label="Microphone permission actions"/>
+ <suffix name="VideoCapture" label="Camera permission actions"/>
+ <affected-histogram name="Permissions.Action"/>
</histogram_suffixes>
<histogram_suffixes name="PNaClTranslatorTypes" separator=".">
« no previous file with comments | « chrome/browser/permissions/permission_uma_util.cc ('k') | tools/metrics/rappor/rappor.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698