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

Unified Diff: chrome/browser/permissions/permission_uma_util.cc

Issue 2690543004: Add UMA for recording embargo reasons and autoblocker interactions. (Closed)
Patch Set: Address comment 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/permissions/permission_uma_util.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_uma_util.cc
diff --git a/chrome/browser/permissions/permission_uma_util.cc b/chrome/browser/permissions/permission_uma_util.cc
index ebc8810809b4ff8dfbfe7e4164184c36bb3288ec..4a404183950a64dabfc02c5b4b7ea2fecc3ffd55 100644
--- a/chrome/browser/permissions/permission_uma_util.cc
+++ b/chrome/browser/permissions/permission_uma_util.cc
@@ -358,6 +358,13 @@ void PermissionUmaUtil::PermissionRevoked(PermissionType permission,
}
}
+void PermissionUmaUtil::RecordPermissionEmbargoStatus(
+ PermissionEmbargoStatus embargo_status) {
+ UMA_HISTOGRAM_ENUMERATION("Permissions.AutoBlocker.EmbargoStatus",
+ embargo_status,
+ PermissionEmbargoStatus::STATUS_NUM);
+}
+
void PermissionUmaUtil::RecordSafeBrowsingResponse(
base::TimeDelta response_time,
SafeBrowsingResponse response) {
« no previous file with comments | « chrome/browser/permissions/permission_uma_util.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698