Index: extensions/common/extension_messages.h |
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h |
index 9bb15abaa89535afc5ec304b2f0804e2ff4b6fd9..67d01481ab7b1eb89a6ee1799aadfcd2fee42281 100644 |
--- a/extensions/common/extension_messages.h |
+++ b/extensions/common/extension_messages.h |
@@ -359,8 +359,9 @@ IPC_MESSAGE_ROUTED1(ExtensionMsg_ExecuteCode, |
// Notification that the user scripts have been updated. It has one |
// SharedMemoryHandle argument consisting of the pickled script data. This |
// handle is valid in the context of the renderer. |
-IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdateUserScripts, |
- base::SharedMemoryHandle) |
+IPC_MESSAGE_CONTROL2(ExtensionMsg_UpdateUserScripts, |
+ base::SharedMemoryHandle, |
+ std::set<std::string> /* changed extensions */) |
// Tell the render view which browser window it's being attached to. |
IPC_MESSAGE_ROUTED1(ExtensionMsg_UpdateBrowserWindowId, |
@@ -572,9 +573,18 @@ IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting, |
int32 /* page_id of the _topmost_ frame */, |
GURL /* url of the _topmost_ frame */) |
-IPC_MESSAGE_ROUTED2(ExtensionHostMsg_NotifyExtensionScriptExecution, |
+// Sent from the renderer to the browser to request permission for a content |
+// script to execute on a given page. |
+IPC_MESSAGE_ROUTED3(ExtensionHostMsg_RequestContentScriptPermission, |
std::string /* extension id */, |
- int /* page id */) |
+ int /* page id */, |
+ int /* request id */) |
+ |
+// Sent from the browser to the renderer in reply to a |
+// RequestContentScriptPermission message, granting permission for a content |
+// script to run. |
+IPC_MESSAGE_ROUTED1(ExtensionMsg_GrantContentScriptPermission, |
+ int /* request id */) |
// Sent by the renderer when a web page is checking if its app is installed. |
IPC_MESSAGE_ROUTED3(ExtensionHostMsg_GetAppInstallState, |