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

Unified Diff: extensions/common/extension.cc

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/common/extension.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index 9328ba2f2d85bb8c4191d0d185d848b4ef20a234..024e558cb21f5bf412e5028e4ce28d7c53e27c4b 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -781,10 +781,8 @@ UnloadedExtensionInfo::UnloadedExtensionInfo(
UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo(
const Extension* extension,
- const PermissionSet* permissions,
+ const PermissionSet& permissions,
Reason reason)
- : reason(reason),
- extension(extension),
- permissions(permissions) {}
+ : reason(reason), extension(extension), permissions(permissions) {}
} // namespace extensions
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698