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

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

Issue 371933002: Add UMA for the new generic permisison class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 1374c6a8e1b185e623e53d97f74f13ca3128b708..b5e0f0cc535309c0e88c04e4765b807d62f1f4b4 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2863,6 +2863,27 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>The default popups setting at profile open.</summary>
</histogram>
+<histogram name="ContentSettings.DefaultPushMessagingSetting"
+ enum="ContentSetting">
+ <owner>miguelg@chromium.org</owner>
+ <summary>
+ The default permission setting for push messages at profile open.
+ </summary>
+</histogram>
+
+<histogram name="ContentSettings.PermissionActions" enum="PermissionAction">
+ <owner>miguelg</owner>
+ <summary>
+ Used on a per permission basis (see histogram_suffix below). Tracks whether
+ a permission was granted,rejected...
Mark P 2014/07/15 20:17:41 How about inverting this summary like so: Tracks w
Miguel Garcia 2014/07/16 11:15:27 Done.
+ </summary>
+</histogram>
+
+<histogram name="ContentSettings.PermissionRequested" enum="PermissionType">
+ <owner>miguelg@chromium.org</owner>
+ <summary>Number of times a given permission was requested.</summary>
+</histogram>
+
<histogram name="Cookie.ParsedCookieStatus" enum="ParsedCookieStatus">
<obsolete>
Deprecated as of 9/2013. Experiment to measure control characters in cookies
@@ -44137,6 +44158,19 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</int>
</enum>
+<enum name="PermissionAction" type="int">
+ <int value="0" label="GRANTED"/>
+ <int value="1" label="DENIED"/>
+ <int value="2" label="DISMISSED"/>
+ <int value="3" label="IGNORED"/>
+</enum>
+
+<enum name="PermissionType" type="int">
+ <int value="0" label="PERMISSION_UNKONWN"/>
+ <int value="1" label="PERMISSION_MIDI_SYSEX"/>
+ <int value="2" label="PERMISSION_PUSH_MESSAGING"/>
+</enum>
+
<enum name="PhotoEditorFileType" type="int">
<int value="0" label="jpg"/>
<int value="1" label="png"/>
@@ -50490,6 +50524,12 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<affected-histogram name="PerformanceMonitor.HighCPU"/>
</histogram_suffixes>
+<histogram_suffixes name="PermissionActions">
+ <suffix name="MidiSysEx" label="Midi SysEx permsision actions"/>
+ <suffix name="PushMessaging" label="Push messaging permission actions"/>
+ <affected-histogram name="ContentSettings.PermissionActions"/>
+</histogram_suffixes>
+
<histogram_suffixes name="PpapiPluginName">
<suffix name="libpepflashplayer.so" label="Flash player on Linux or Cros"/>
<suffix name="libwidevinecdmadapter.so"

Powered by Google App Engine
This is Rietveld 408576698