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

Unified Diff: chrome/browser/extensions/extension_permissions_api.h

Issue 7508029: Add origin permissions to the extension permissions API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix dcheck Created 9 years, 4 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 | « no previous file | chrome/browser/extensions/extension_permissions_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_permissions_api.h
diff --git a/chrome/browser/extensions/extension_permissions_api.h b/chrome/browser/extensions/extension_permissions_api.h
index a398f5d67d1310d9edc8e04ff24d2793e261b056..f70e4f54642a7f0c080b28ea6c665db37d90ec64 100644
--- a/chrome/browser/extensions/extension_permissions_api.h
+++ b/chrome/browser/extensions/extension_permissions_api.h
@@ -48,16 +48,14 @@ class ExtensionPermissionsManager {
const char* event_name,
const ExtensionPermissionSet* changed_permissions);
- // Issues the relevant events, messages and notifications when the permissions
- // have changed for the |extension| (|changed| is the permission delta, while
- // |active| is the new permission set). Specifically, this sends the
- // EXTENSION_PERMISSIONS_UPDATED notification, the
- // ExtensionMsg_UpdatePermissions IPC message, and fires the onAdded/onRemoved
- // events in the extension.
- void NotifyPermissionsUpdated(const Extension* extension,
- const ExtensionPermissionSet* active,
- const ExtensionPermissionSet* changed,
- EventType event_type);
+ // Issues the relevant events, messages and notifications when the
+ // |extension|'s permissions have |changed| (|changed| is the delta).
+ // Specifically, this sends the EXTENSION_PERMISSIONS_UPDATED notification,
+ // the ExtensionMsg_UpdatePermissions IPC message, and fires the
+ // onAdded/onRemoved events in the extension.
+ void NotifyPermissionsUpdated(EventType event_type,
+ const Extension* extension,
+ const ExtensionPermissionSet* changed);
ExtensionService* extension_service_;
};
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_permissions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698