Chromium Code Reviews| 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..e133b35ebf742d322ae0006aa64c5ca22cd9be53 100644 |
| --- a/chrome/browser/permissions/permission_util.h |
| +++ b/chrome/browser/permissions/permission_util.h |
| @@ -61,6 +61,9 @@ class PermissionUtil { |
| static bool GetPermissionType(ContentSettingsType type, |
| content::PermissionType* out); |
| + // Checks whether the given ContentSettingsType is a permission. |
| + static bool IsPermission(ContentSettingsType type); |
|
dominickn
2017/03/03 03:31:36
Perhaps move this method to the anonymous namespac
Patti Lor
2017/03/03 05:16:32
I used this in website_settings.cc as well D:
Wha
|
| + |
| static bool ShouldShowPersistenceToggle(); |
| // A scoped class that will check the current resolved content setting on |