summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-06 16:54:09 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-06 16:54:09 +0000
commitaeee1ee51a37c27a0a9c6465ff118777d623b9e6 (patch)
tree0061b4f3ec11fc3b428a5469c70a0467c4652e4c /ppapi
parent9134a8c5bd338f555a61f9863b0a50ffe28e0d5a (diff)
downloadchromium_src-aeee1ee51a37c27a0a9c6465ff118777d623b9e6.zip
chromium_src-aeee1ee51a37c27a0a9c6465ff118777d623b9e6.tar.gz
chromium_src-aeee1ee51a37c27a0a9c6465ff118777d623b9e6.tar.bz2
Pepper: Split PpapiHostMsg_ChannelCreated use.
PpapiHostMsg_ChannelCreated is used for two purposes: * Notifying the browser that a browser<->plugin channel has been created, and * Notifying that browser that a renderer<->plugin channel has been created. In this case renderer<->plugin channel is for NaCl-based plugins, and is special because it does some inspection of message contents and passes on the message to the untrusted side of the plugin. I've changed this because I think it makes the code easier to read, and I'm adding an additional renderer<->plugin channel anyway. BUG= TBR=mseaborn,jschuh Review URL: https://codereview.chromium.org/98183012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/ppapi_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 27654f4..65d7ee2 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -737,6 +737,8 @@ IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive)
// initialize properly.
IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated,
IPC::ChannelHandle /* handle */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_NaClChannelCreated,
+ IPC::ChannelHandle /* handle */)
// Logs the given message to the console of all instances.
IPC_MESSAGE_CONTROL4(PpapiHostMsg_LogWithSource,