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

Unified Diff: extensions/common/manifest_handlers/permissions_parser.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/common/extension_messages.cc ('k') | extensions/common/manifest_handlers/permissions_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/permissions_parser.h
diff --git a/extensions/common/manifest_handlers/permissions_parser.h b/extensions/common/manifest_handlers/permissions_parser.h
index 81ffe0ec70ee37f1429bdc44072e7d86e6a87485..645017d1b6f469fe0ffb478e7a22441e5aa4538d 100644
--- a/extensions/common/manifest_handlers/permissions_parser.h
+++ b/extensions/common/manifest_handlers/permissions_parser.h
@@ -45,9 +45,9 @@ class PermissionsParser {
// Return the extension's manifest-specified permissions. In no cases should
// these permissions be used to determine if an action is allowed. Instead,
// use PermissionsData.
- static scoped_refptr<const PermissionSet> GetRequiredPermissions(
+ static const PermissionSet* GetRequiredPermissions(
const Extension* extension);
- static scoped_refptr<const PermissionSet> GetOptionalPermissions(
+ static const PermissionSet* GetOptionalPermissions(
const Extension* extension);
private:
« no previous file with comments | « extensions/common/extension_messages.cc ('k') | extensions/common/manifest_handlers/permissions_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698