summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 4d7f568..215d99a 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -574,12 +574,11 @@ struct UpdatedExtensionPermissionsInfo {
// The permissions that have changed. For Reason::ADDED, this would contain
// only the permissions that have added, and for Reason::REMOVED, this would
// only contain the removed permissions.
- const PermissionSet* permissions;
+ const PermissionSet& permissions;
- UpdatedExtensionPermissionsInfo(
- const Extension* extension,
- const PermissionSet* permissions,
- Reason reason);
+ UpdatedExtensionPermissionsInfo(const Extension* extension,
+ const PermissionSet& permissions,
+ Reason reason);
};
} // namespace extensions