Index: extensions/common/extension_messages.h |
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h |
index 73adbcd204d4e0002e31d6b23acfcab0e40c429d..5dc4981682a69cf7c788e8d78db5569c7d076357 100644 |
--- a/extensions/common/extension_messages.h |
+++ b/extensions/common/extension_messages.h |
@@ -457,10 +457,13 @@ IPC_MESSAGE_ROUTED1(ExtensionMsg_ExecuteCode, |
// region will be updated. Note that the empty set => all hosts case is not |
// supported for per-extension programmatically-defined script regions; in such |
// regions, the owner is expected to list itself as the only changed host. |
-IPC_MESSAGE_CONTROL3(ExtensionMsg_UpdateUserScripts, |
+// If |whitelisted_only| is true, this process should only run whitelisted |
+// scripts and not all user scripts. |
+IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateUserScripts, |
base::SharedMemoryHandle, |
HostID /* owner */, |
- std::set<HostID> /* changed hosts */) |
+ std::set<HostID> /* changed hosts */, |
+ bool /* whitelisted_only */) |
// Trigger to execute declarative content script under browser control. |
IPC_MESSAGE_ROUTED4(ExtensionMsg_ExecuteDeclarativeScript, |