| Index: chrome/common/extensions/permissions/permission_set.h
|
| diff --git a/chrome/common/extensions/permissions/permission_set.h b/chrome/common/extensions/permissions/permission_set.h
|
| index 599c2b8278bdb2164ec78f180e089f8d4f7e9628..6c5288768f9a7c5938b51e23aa1ed4b517eea770 100644
|
| --- a/chrome/common/extensions/permissions/permission_set.h
|
| +++ b/chrome/common/extensions/permissions/permission_set.h
|
| @@ -59,6 +59,11 @@ class PermissionSet
|
| static PermissionSet* CreateUnion(
|
| const PermissionSet* set1, const PermissionSet* set2);
|
|
|
| + // Creates a new permission set that only contains permissions that must be
|
| + // in the manifest. Passes ownership of the new set to the caller.
|
| + static PermissionSet* ExcludeNotInManifestPermissions(
|
| + const PermissionSet* set);
|
| +
|
| bool operator==(const PermissionSet& rhs) const;
|
|
|
| // Returns true if |set| is a subset of this.
|
|
|