Index: chrome/browser/extensions/extension_management.h |
diff --git a/chrome/browser/extensions/extension_management.h b/chrome/browser/extensions/extension_management.h |
index d3ebb9496e7a9a0afbcf4408e06aca7625fd41e3..291dcbc31b64beed79a098409d0cf14f356eca15 100644 |
--- a/chrome/browser/extensions/extension_management.h |
+++ b/chrome/browser/extensions/extension_management.h |
@@ -114,12 +114,12 @@ class ExtensionManagement : public KeyedService { |
APIPermissionSet GetBlockedAPIPermissions(const Extension* extension) const; |
// Returns blocked permission set for |extension|. |
- scoped_refptr<const PermissionSet> GetBlockedPermissions( |
+ scoped_ptr<const PermissionSet> GetBlockedPermissions( |
const Extension* extension) const; |
// Returns true if every permission in |perms| is allowed for |extension|. |
bool IsPermissionSetAllowed(const Extension* extension, |
- scoped_refptr<const PermissionSet> perms) const; |
+ const PermissionSet& perms) const; |
// Returns true if |extension| meets the minimum required version set for it. |
// If there is no such requirement set for it, returns true as well. |