| Index: chrome/browser/permissions/permission_util.h
|
| diff --git a/chrome/browser/permissions/permission_util.h b/chrome/browser/permissions/permission_util.h
|
| index 7e482d846b1f68f5e990bc325c746b95e412e66f..2ad0c7ed2462063d80ca24407a5ecba639bd096a 100644
|
| --- a/chrome/browser/permissions/permission_util.h
|
| +++ b/chrome/browser/permissions/permission_util.h
|
| @@ -45,6 +45,11 @@ class PermissionUtil {
|
| // Returns the permission string for the given PermissionType.
|
| static std::string GetPermissionString(content::PermissionType permission);
|
|
|
| + // Return the stringified version of the PermissionType enum that Safe
|
| + // Browsing uses for the API Blacklist.
|
| + static std::string ConvertPermissionTypeToSafeBrowsingName(
|
| + const content::PermissionType& permission_type);
|
| +
|
| // Returns the request type corresponding to a permission type.
|
| static PermissionRequestType GetRequestType(content::PermissionType type);
|
|
|
|
|