| Index: chrome/browser/permissions/permission_uma_util.h
|
| diff --git a/chrome/browser/permissions/permission_uma_util.h b/chrome/browser/permissions/permission_uma_util.h
|
| index 61a08d9356ef7a2adfeed6bfc62eed93bfdae058..82a947baf31fecb87346e7418784ae2c62da8cac 100644
|
| --- a/chrome/browser/permissions/permission_uma_util.h
|
| +++ b/chrome/browser/permissions/permission_uma_util.h
|
| @@ -65,6 +65,15 @@ struct PermissionReportInfo {
|
| int num_prior_ignores;
|
| };
|
|
|
| +enum PermissionEmbargoStatus {
|
| + NOT_EMBARGOED = 0,
|
| + BLACKLISTED = 1,
|
| + REPEATED_DISMISSALS = 2,
|
| +
|
| + // Keep this at the end.
|
| + STATUS_NUM,
|
| +};
|
| +
|
| // Provides a convenient way of logging UMA for permission related operations.
|
| class PermissionUmaUtil {
|
| public:
|
| @@ -114,6 +123,8 @@ class PermissionUmaUtil {
|
| PermissionSourceUI source_ui,
|
| const GURL& revoked_origin,
|
| Profile* profile);
|
| + static void RecordPermissionEmbargoStatus(
|
| + PermissionEmbargoStatus embargo_status);
|
|
|
| // UMA specifically for when permission prompts are shown. This should be
|
| // roughly equivalent to the metrics above, however it is
|
|
|