Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: extensions/common/extension.h

Issue 1349613003: [Extensions] Un-refcount PermissionSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index c4934d8cd23be31bd58ab79e6622d13ac10706ba..8d4e38ab14785dc05c40be4087b894f34ec10529 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -576,12 +576,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

Powered by Google App Engine
This is Rietveld 408576698