Index: chrome/browser/permissions/permission_util.h |
diff --git a/chrome/browser/permissions/permission_util.h b/chrome/browser/permissions/permission_util.h |
index b965ceb2169cca2bdf48b1eaa916f64d6fb2d141..4f188e2e3bb4c24a310683b0f8489ce05851b777 100644 |
--- a/chrome/browser/permissions/permission_util.h |
+++ b/chrome/browser/permissions/permission_util.h |
@@ -61,6 +61,11 @@ class PermissionUtil { |
static bool GetPermissionType(ContentSettingsType type, |
content::PermissionType* out); |
+ // Checks whether the given ContentSettingsType is a permission. Use this |
+ // to determine whether a specific ContentSettingsType is supported by the |
+ // PermissionManager. |
+ static bool IsPermission(ContentSettingsType type); |
+ |
static bool ShouldShowPersistenceToggle(); |
// A scoped class that will check the current resolved content setting on |