| Index: extensions/common/permissions/api_permission_set.h
|
| diff --git a/extensions/common/permissions/api_permission_set.h b/extensions/common/permissions/api_permission_set.h
|
| index 476ad13ab88d78da762946b386336b6cc0f3a80f..43b97ec0289453dec2f93f1874c3f38ebab23e21 100644
|
| --- a/extensions/common/permissions/api_permission_set.h
|
| +++ b/extensions/common/permissions/api_permission_set.h
|
| @@ -136,6 +136,13 @@ class PermissionIDSet {
|
| // Check if the set contains permissions with all the given IDs.
|
| bool ContainsAllIDs(const std::set<APIPermission::ID>& permission_ids) const;
|
|
|
| + // Check if the set contains any permission with one of the given IDs.
|
| + bool ContainsAnyID(const std::set<APIPermission::ID>& permission_ids) const;
|
| +
|
| + // Returns all the permissions in this set with the given ID.
|
| + PermissionIDSet GetAllPermissionsWithID(
|
| + APIPermission::ID permission_id) const;
|
| +
|
| // Returns all the permissions in this set with one of the given IDs.
|
| PermissionIDSet GetAllPermissionsWithIDs(
|
| const std::set<APIPermission::ID>& permission_ids) const;
|
|
|