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

Issue 98183012: Pepper: Split PpapiHostMsg_ChannelCreated use. (Closed)

Created:
6 years, 11 months ago by teravest
Modified:
6 years, 11 months ago
Reviewers:
Mark Seaborn, bbudge, jschuh
CC:
chromium-reviews
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243101

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed up method names #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -14 lines) Patch
M components/nacl/browser/nacl_process_host.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 4 chunks +16 lines, -11 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 12 (0 generated)
teravest
6 years, 11 months ago (2014-01-03 16:38:14 UTC) #1
bbudge
https://codereview.chromium.org/98183012/diff/1/components/nacl/browser/nacl_process_host.h File components/nacl/browser/nacl_process_host.h (right): https://codereview.chromium.org/98183012/diff/1/components/nacl/browser/nacl_process_host.h#newcode182 components/nacl/browser/nacl_process_host.h:182: void OnPpapiNaClChannelCreated(const IPC::ChannelHandle& channel_handle); In theory we may create ...
6 years, 11 months ago (2014-01-03 16:52:14 UTC) #2
teravest
On Fri, Jan 3, 2014 at 9:52 AM, <bbudge@chromium.org> wrote: > > https://codereview.chromium.org/98183012/diff/1/components/nacl/browser/nacl_process_host.h > File ...
6 years, 11 months ago (2014-01-03 16:59:41 UTC) #3
bbudge
On 2014/01/03 16:59:41, teravest wrote: > On Fri, Jan 3, 2014 at 9:52 AM, <mailto:bbudge@chromium.org> ...
6 years, 11 months ago (2014-01-03 17:06:14 UTC) #4
bbudge
On 2014/01/03 17:06:14, bbudge1 wrote: > On 2014/01/03 16:59:41, teravest wrote: > > On Fri, ...
6 years, 11 months ago (2014-01-03 17:06:56 UTC) #5
teravest
So, as it stands in the current change: NaClProcessMsg_Start - creates a browser-plugin channel when ...
6 years, 11 months ago (2014-01-03 17:18:22 UTC) #6
bbudge
On 2014/01/03 17:18:22, teravest wrote: > So, as it stands in the current change: > ...
6 years, 11 months ago (2014-01-03 17:24:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/98183012/60001
6 years, 11 months ago (2014-01-03 17:34:38 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) chromedriver2_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=209653
6 years, 11 months ago (2014-01-03 18:20:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/98183012/60001
6 years, 11 months ago (2014-01-06 15:36:26 UTC) #10
commit-bot: I haz the power
Change committed as 243101
6 years, 11 months ago (2014-01-06 16:54:17 UTC) #11
Mark Seaborn
6 years, 11 months ago (2014-01-06 16:56:13 UTC) #12
Message was sent while issue was closed.
Can you fill out the BUG= field in these changes, please?

https://codereview.chromium.org/98183012/diff/60001/ppapi/proxy/ppapi_messages.h
File ppapi/proxy/ppapi_messages.h (right):

https://codereview.chromium.org/98183012/diff/60001/ppapi/proxy/ppapi_message...
ppapi/proxy/ppapi_messages.h:733: // These are from the plugin to the renderer.
Can you update the comments in line with the explanation in the commit message? 
PpapiHostMsg_NaClChannelCreated is received by the browser, not the renderer.

Powered by Google App Engine
This is Rietveld 408576698