diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 16:54:09 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 16:54:09 +0000 |
commit | aeee1ee51a37c27a0a9c6465ff118777d623b9e6 (patch) | |
tree | 0061b4f3ec11fc3b428a5469c70a0467c4652e4c /ppapi | |
parent | 9134a8c5bd338f555a61f9863b0a50ffe28e0d5a (diff) | |
download | chromium_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.h | 2 |
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, |