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

Issue 139993009: [WIP] Yet another demo for BMM NaCl ppapi connection. (Closed)

Created:
6 years, 10 months ago by hidehiko
Modified:
6 years, 10 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[WIP] Yet another demo for BMM NaCl ppapi connection. BUG=

Patch Set 1 #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -429 lines) Patch
M components/nacl.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.h View 1 chunk +3 lines, -1 line 3 comments Download
M components/nacl/browser/nacl_process_host.cc View 3 chunks +26 lines, -27 lines 3 comments Download
M components/nacl/common/nacl_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 chunk +1 line, -19 lines 1 comment Download
M components/nacl/loader/nacl_listener.cc View 1 chunk +59 lines, -16 lines 1 comment Download
A components/nacl/loader/nonsfi/irt_filename.cc View 1 chunk +123 lines, -0 lines 1 comment Download
M components/nacl/loader/nonsfi/irt_interfaces.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/nacl/loader/nonsfi/irt_interfaces.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A components/nacl/loader/nonsfi/irt_ppapi.cc View 1 chunk +62 lines, -0 lines 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_main.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_main.cc View 4 chunks +40 lines, -13 lines 1 comment Download
M ipc/ipc_channel.h View 1 chunk +7 lines, -0 lines 1 comment Download
M ipc/ipc_channel_posix.h View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 2 chunks +6 lines, -1 line 1 comment Download
M ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h View 2 chunks +22 lines, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 2 chunks +6 lines, -1 line 0 comments Download
A + ppapi/proxy/plugin_main.cc View 7 chunks +117 lines, -44 lines 0 comments Download
D ppapi/proxy/plugin_main_nacl.cc View 1 chunk +0 lines, -303 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mark Seaborn
Can you reduce this change down to just the refactoring of the existing NaCl startup ...
6 years, 10 months ago (2014-02-03 22:59:07 UTC) #1
Mark Seaborn
https://codereview.chromium.org/139993009/diff/1/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (left): https://codereview.chromium.org/139993009/diff/1/components/nacl/browser/nacl_process_host.cc#oldcode840 components/nacl/browser/nacl_process_host.cc:840: new PpapiMsg_CreateNaClChannel( I think you will want to keep ...
6 years, 10 months ago (2014-02-04 01:18:30 UTC) #2
hidehiko
As you know, I've sent a CL about refactoring (crrev.com/150713003), and I think we have ...
6 years, 10 months ago (2014-02-05 08:43:32 UTC) #3
hidehiko
On 2014/02/05 08:43:32, hidehiko wrote: > As you know, I've sent a CL about refactoring ...
6 years, 10 months ago (2014-02-07 01:30:25 UTC) #4
Mark Seaborn
6 years, 10 months ago (2014-02-07 22:53:43 UTC) #5
Message was sent while issue was closed.
I started writing comments on this change, but then I realised you actually want
me to comment on https://codereview.chromium.org/140573003.  That's really
confusing.  Please don't send me pings on changes you don't want me to review.
:-)  Please close changes if they're obsolete, and if a change is ready for
review, fill out its commit message and press "Publish+Mail Comments".

I will start looking at https://codereview.chromium.org/140573003 now...

https://codereview.chromium.org/139993009/diff/1/components/nacl/browser/nacl...
File components/nacl/browser/nacl_process_host.h (right):

https://codereview.chromium.org/139993009/diff/1/components/nacl/browser/nacl...
components/nacl/browser/nacl_process_host.h:180: void
OnPpapiBrowserChannelCreated(
Can you rebase this onto the refactoring that you committed
(https://src.chromium.org/viewvc/chrome?revision=249531&view=revision), please?

https://codereview.chromium.org/139993009/diff/1/components/nacl/loader/nonsf...
File components/nacl/loader/nonsfi/irt_filename.cc (right):

https://codereview.chromium.org/139993009/diff/1/components/nacl/loader/nonsf...
components/nacl/loader/nonsfi/irt_filename.cc:4: 
Can you leave out the implementation of irt_filename.cc, please, as we discussed
in https://codereview.chromium.org/130753003/?

https://codereview.chromium.org/139993009/diff/1/components/nacl/loader/nonsf...
File components/nacl/loader/nonsfi/nonsfi_main.cc (right):

https://codereview.chromium.org/139993009/diff/1/components/nacl/loader/nonsf...
components/nacl/loader/nonsfi/nonsfi_main.cc:85: event.Wait();
This stuff with SetPpapiStartEvent() shouldn't be necessary.  load_module can
return immediately.  It doesn't have to wait until user code calls ppapi_start()
before returning.

https://codereview.chromium.org/139993009/diff/1/ipc/ipc_channel.h
File ipc/ipc_channel.h (right):

https://codereview.chromium.org/139993009/diff/1/ipc/ipc_channel.h#newcode206
ipc/ipc_channel.h:206: // On POSIX an IPC::Channel wraps a socketpair() with set
some attributes
"with some attributes set"

However, since this is documenting the interface it probably shouldn't specify
implementation details.  So I'd just say "SocketPair() returns a pair of socket
FDs suitable for using with IPC::Channel".

Powered by Google App Engine
This is Rietveld 408576698