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 7013b2ceada4df23f4a35ca627241d2da7532054..8bcde4aeeeca4a39b89f72acc4d9340f255affe2 100644 |
--- a/chrome/browser/permissions/permission_uma_util.cc |
+++ b/chrome/browser/permissions/permission_uma_util.cc |
@@ -496,6 +496,10 @@ void PermissionUmaUtil::PermissionPromptAcceptedWithPersistenceToggle( |
UMA_HISTOGRAM_BOOLEAN( |
"Permissions.Prompt.Accepted.Persisted.VideoCapture", toggle_enabled); |
break; |
+ case PermissionType::PLUGINS: |
+ UMA_HISTOGRAM_BOOLEAN("Permissions.Prompt.Accepted.Persisted.Plugins", |
+ toggle_enabled); |
+ break; |
// The user is not prompted for these permissions, thus there is no accept |
// recorded for them. |
case PermissionType::MIDI: |
@@ -543,6 +547,10 @@ void PermissionUmaUtil::PermissionPromptDeniedWithPersistenceToggle( |
UMA_HISTOGRAM_BOOLEAN("Permissions.Prompt.Denied.Persisted.VideoCapture", |
toggle_enabled); |
break; |
+ case PermissionType::PLUGINS: |
+ UMA_HISTOGRAM_BOOLEAN("Permissions.Prompt.Denied.Persisted.Plugins", |
+ toggle_enabled); |
+ break; |
// The user is not prompted for these permissions, thus there is no deny |
// recorded for them. |
case PermissionType::MIDI: |
@@ -661,6 +669,10 @@ void PermissionUmaUtil::RecordPermissionAction( |
UMA_HISTOGRAM_ENUMERATION("Permissions.Action.VideoCapture", action, |
PERMISSION_ACTION_NUM); |
break; |
+ case PermissionType::PLUGINS: |
+ UMA_HISTOGRAM_ENUMERATION("Permissions.Action.Plugins", action, |
+ PERMISSION_ACTION_NUM); |
+ break; |
// The user is not prompted for these permissions, thus there is no |
// permission action recorded for them. |
case PermissionType::MIDI: |