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

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

Issue 2226633002: Add a feature to display a persistence toggle for permission prompts on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix null error Created 4 years, 4 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 7dd4a3842746ee713a6c2e134eb3d2656a10f118..de1044fa1a0fbd7ee4ccdc54a9bf85d0fa43085b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -39505,6 +39505,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Permissions.Prompt.Denied.Persisted" enum="BooleanEnabled">
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ For each denied permission prompt displayed with a persistence toggle
+ (remember my decision), records whether the persistence toggle was enabled
+ (persist) or not enabled (don't persist).
+ </summary>
+</histogram>
+
+<histogram name="Permissions.Prompt.Granted.Persisted" enum="BooleanEnabled">
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ For each granted permission prompt displayed with a persistence toggle
+ (remember my decision), records whether the persistence toggle was enabled
+ (persist) or not enabled (don't persist).
+ </summary>
+</histogram>
+
<histogram name="Permissions.Prompt.MergedBubbleAccepted"
enum="PermissionRequestType">
<owner>benwells@chromium.org</owner>
@@ -100484,6 +100502,8 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Permissions.Action"/>
<affected-histogram name="Permissions.Action.InsecureOrigin"/>
<affected-histogram name="Permissions.Action.SecureOrigin"/>
+ <affected-histogram name="Permissions.Prompt.Denied.Persisted"/>
+ <affected-histogram name="Permissions.Prompt.Granted.Persisted"/>
<affected-histogram name="Permissions.Requested.CrossOrigin"/>
</histogram_suffixes>
« chrome/browser/permissions/permission_uma_util.cc ('K') | « chrome/common/chrome_features.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698