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

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: Rebase 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
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 4d7f568577a1dd3a9c7bc467fe51856f3c51cc58..215d99ac2c1ba91c3f628caa34e8465d9fbfa274 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
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698