| Index: chrome/browser/permissions/permission_context_base.cc
|
| diff --git a/chrome/browser/permissions/permission_context_base.cc b/chrome/browser/permissions/permission_context_base.cc
|
| index c00f3e7aa503570ad94c778a64b0b4923857aa9d..57d3479adb7ea1dc0731cbadb849391a509655f1 100644
|
| --- a/chrome/browser/permissions/permission_context_base.cc
|
| +++ b/chrome/browser/permissions/permission_context_base.cc
|
| @@ -316,6 +316,11 @@ void PermissionContextBase::PermissionDecided(
|
| // The permission has been embargoed, so it is blocked for this permission
|
| // request, but not persisted.
|
| content_setting = CONTENT_SETTING_BLOCK;
|
| + } else {
|
| + // If a decision was made, and it did not exceed the number of allowable
|
| + // dismissals, then it cannot have been embargoed.
|
| + PermissionUmaUtil::RecordPermissionEmbargoReason(
|
| + PermissionEmbargoReason::NOT_EMBARGOED);
|
| }
|
|
|
| NotifyPermissionSet(id, requesting_origin, embedding_origin, callback,
|
|
|