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

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
« tools/metrics/actions/actions.xml ('K') | « tools/metrics/actions/actions.xml ('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 bd413fa0082eee50024ce3bc66d7926edca37675..6aad4ab61d8eafa49802ea5c6d2095f2c1cd9596 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2786,6 +2786,29 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="ContentSettings.DefaultPushMessagingSetting"
+ enum="ContentSetting">
+ <owner>miguelg@chromium.org</owner>
+ <summary>
+ The default permission setting for push messages at browser start
+ </summary>
+</histogram>
+
+<histogram name="ContentSettings.PermissionDenied" enum="PermissionType">
+ <owner>miguelg@google.com</owner>
+ <summary>Number of times a given permission was granted.</summary>
+</histogram>
+
+<histogram name="ContentSettings.PermissionGranted" enum="PermissionType">
+ <owner>miguelg@chromium.org</owner>
+ <summary>Number of times a given permission was granted.</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
@@ -35857,6 +35880,13 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="4" label="TEST_NOT_RUN"/>
</enum>
+<enum name="ContentSetting" type="int">
+ <int value="1" label="ALLOW"/>
+ <int value="2" label="BLOCK"/>
+ <int value="3" label="ASK"/>
+ <int value="4" label="SESSION_ONLY"/>
+</enum>
+
<enum name="ContextualSearchOptCardAction" type="int">
<int value="0" label="Opt-in"/>
<int value="1" label="Opt-out"/>
@@ -36143,6 +36173,9 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="Primary accounts present but different"/>
</enum>
+<!-- Needs to be kept in sync with PermissionType in
+ permission_context_base.h -->
+
<enum name="DllHash" type="int">
<!-- Generated by chrome_elf/dll_hash/dll_hash_main.cc -->
@@ -43848,6 +43881,12 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</int>
</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"/>
« tools/metrics/actions/actions.xml ('K') | « tools/metrics/actions/actions.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698