| Index: chrome/browser/permissions/permission_util.h
|
| diff --git a/chrome/browser/permissions/permission_util.h b/chrome/browser/permissions/permission_util.h
|
| index 2376bc8e098c54f9478e65c49552e40161a56f68..e5d8e15495920751f78866323ef2d13d231168ad 100644
|
| --- a/chrome/browser/permissions/permission_util.h
|
| +++ b/chrome/browser/permissions/permission_util.h
|
| @@ -20,6 +20,7 @@ enum class PermissionType;
|
| } // namespace content
|
|
|
| enum class PermissionSourceUI;
|
| +enum class PermissionStatusSource;
|
|
|
| // This enum backs a UMA histogram, so it must be treated as append-only.
|
| enum class PermissionAction {
|
| @@ -66,6 +67,10 @@ class PermissionUtil {
|
| // PermissionManager.
|
| static bool IsPermission(ContentSettingsType type);
|
|
|
| + // Converts a content_settings::SettingSource to a PermissionStatusSource.
|
| + static PermissionStatusSource ConvertSettingSourceToPermissionStatusSource(
|
| + content_settings::SettingSource source);
|
| +
|
| static bool ShouldShowPersistenceToggle(ContentSettingsType type);
|
|
|
| // A scoped class that will check the current resolved content setting on
|
|
|