Index: chrome/common/render_messages_internal.h |
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h |
index d8f3fb654e3248eb0498472315db7b81610bc6ad..05b62b02079c0dee4f8699ce20367a305c1d6e23 100644 |
--- a/chrome/common/render_messages_internal.h |
+++ b/chrome/common/render_messages_internal.h |
@@ -789,6 +789,10 @@ IPC_MESSAGE_ROUTED4(ViewMsg_ExtensionMessageInvoke, |
IPC_MESSAGE_CONTROL1(ViewMsg_Extension_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(ViewMsg_Extension_SetAPIPermissions, |
@@ -807,6 +811,12 @@ IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, |
std::string /* extension_id */, |
std::vector<std::string> /* page_action_ids */) |
+// Notifies the renderer that an extension was loaded in the browser. |
+IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionLoaded, ViewMsg_ExtensionLoaded_Params); |
+ |
+// Notifies the renderer that an extension was unloaded in the browser. |
+IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionUnloaded, std::string); |
+ |
// Changes the text direction of the currently selected input field (if any). |
IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
WebKit::WebTextDirection /* direction */) |
@@ -1000,10 +1010,6 @@ IPC_MESSAGE_ROUTED1(ViewMsg_Geolocation_PositionUpdated, |
IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, |
bool /* is_incognito_processs */) |
-// Notification that the list of extensions has been updated. |
-IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionsUpdated, |
- ViewMsg_ExtensionsUpdated_Params) |
- |
// Enable accessibility in the renderer process. |
IPC_MESSAGE_ROUTED0(ViewMsg_EnableAccessibility) |