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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 6894045: wip (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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 | « chrome/chrome_tests.gypi ('k') | chrome/renderer/extensions/bindings_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 69575e9a97f31417970b66e0a270dc8da1cae757..f2f5c3449e4820adcd44c2998e6a70a77301b1ef 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -166,21 +166,14 @@ IPC_MESSAGE_ROUTED4(ExtensionMsg_MessageInvoke,
IPC_MESSAGE_CONTROL1(ExtensionMsg_SetFunctionNames,
std::vector<std::string>)
-// TODO(aa): SetAPIPermissions, SetHostPermissions, and possibly
-// UpdatePageActions should be replaced with just sending additional data in
-// ExtensionLoaded. See: crbug.com/70516.
-
-// Tell the renderer process which permissions the given extension has. See
-// Extension::Permissions for which elements correspond to which permissions.
-IPC_MESSAGE_CONTROL2(ExtensionMsg_SetAPIPermissions,
- std::string /* extension_id */,
- std::set<std::string> /* permissions */)
-
-// Tell the renderer process which host permissions the given extension has.
-IPC_MESSAGE_CONTROL2(ExtensionMsg_SetHostPermissions,
- GURL /* source extension's origin */,
- /* URLPatterns the extension can access */
- std::vector<URLPattern>)
+// Marks an extension as 'active' in an extension process. 'Active' extensions
+// have more privileges than other extension content that might end up running
+// in the process (e.g. because of iframes or content scripts).
+IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension,
+ std::string /* extension_id */)
+
+// TODO(aa): UpdatePageActions might be replaced with just sending additional
+// data in ExtensionLoaded. See: crbug.com/70516.
// Tell the renderer process all known page action ids for a particular
// extension.
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/extensions/bindings_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698