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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2701343002: Implement permission embargo suppression metrics. (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « chrome/browser/permissions/permission_util.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 6bf2c915e8f644ad7c823b3aaa1ef5dc45b998a8..499e5a91760ffb764172e606b5ad6e832c5072a5 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -46390,6 +46390,23 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Permissions.AutoBlocker.EmbargoPromptSuppression"
+ enum="PermissionEmbargoStatus">
+ <owner>dominickn@chromium.org</owner>
+ <owner>kcarattini@chromium.org</owner>
+ <summary>
+ For every permission request that would show a prompt to the user, this
+ metric tracks whether the request is suppressed by embargo (and the source
+ of that embargo), or whether there is no embargo and the prompt is shown.
+ This is the proportion of permission prompts that the user would have seen
+ that have been blocked due to embargo.
+
+ If the (origin, permission) pair was previously placed under embargo, no
+ prompt is displayed and the reason for embargo is recorded. Otherwise, the
+ prompt is shown and a no embargo reason is recorded.
+ </summary>
+</histogram>
+
<histogram name="Permissions.AutoBlocker.EmbargoStatus"
enum="PermissionEmbargoStatus">
<owner>dominickn@chromium.org</owner>
« no previous file with comments | « chrome/browser/permissions/permission_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698