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

Unified Diff: extensions/common/extension_messages.h

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments. Created 5 years, 9 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
Index: extensions/common/extension_messages.h
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index 73adbcd204d4e0002e31d6b23acfcab0e40c429d..1cbef89f98213f589e1e80f46a2998aa777ced00 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,
+// |is_to_guest_render_process| indicates whether the IPC is sent to a guest
Fady Samuel 2015/04/02 21:46:09 nit: is_guest_process is less wordy
+// render process.
+IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateUserScripts,
base::SharedMemoryHandle,
HostID /* owner */,
- std::set<HostID> /* changed hosts */)
+ std::set<HostID> /* changed hosts */,
+ bool /* is to a guest render process */)
// Trigger to execute declarative content script under browser control.
IPC_MESSAGE_ROUTED4(ExtensionMsg_ExecuteDeclarativeScript,

Powered by Google App Engine
This is Rietveld 408576698