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

Issue 2305913002: Use ChannelMojo from the browser to NaCl loader process. (Closed)

Created:
4 years, 3 months ago by Sam McNally
Modified:
4 years, 2 months ago
CC:
blundell+watchlist_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, droger+watchlist_chromium.org, rickyz+watch_chromium.org, sdefresne+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ChannelMojo from the browser to NaCl loader process. patch from issue 2081183005 at patchset 340001 (http://crrev.com/2081183005#ps340001) BUG=604282 COLLABORATOR=amistry@chromium.org Committed: https://crrev.com/9e8780772cbf802e57c366eb8113d38af95ffd89 Cr-Commit-Position: refs/heads/master@{#420245}

Patch Set 1 : http://crrev.com/2081183005#ps340001 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : rebase #

Total comments: 18

Patch Set 5 : rebase #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -46 lines) Patch
M components/nacl/broker/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/broker/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/broker/nacl_broker_listener.h View 1 chunk +6 lines, -0 lines 0 comments Download
M components/nacl/broker/nacl_broker_listener.cc View 1 2 3 4 5 6 chunks +64 lines, -9 lines 0 comments Download
M components/nacl/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/browser/nacl_broker_host_win.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/nacl/browser/nacl_broker_host_win.cc View 4 chunks +17 lines, -9 lines 0 comments Download
M components/nacl/browser/nacl_process_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 5 6 chunks +15 lines, -6 lines 1 comment Download
M components/nacl/loader/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_helper_linux.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/nacl/loader/nacl_helper_win_64.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.h View 2 chunks +8 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 3 4 5 8 chunks +30 lines, -5 lines 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_listener.h View 1 2 3 4 5 3 chunks +7 lines, -1 line 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_listener.cc View 1 2 3 4 5 3 chunks +24 lines, -2 lines 0 comments Download
M content/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/zygote_fork_delegate_linux.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/zygote/zygote_linux.cc View 3 chunks +5 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 47 (31 generated)
Sam McNally
Anand is no longer working on chrome so I'm picking up this CL from http://crrev.com/2081183005.
4 years, 3 months ago (2016-09-02 04:42:21 UTC) #12
Mark Seaborn
LGTM https://codereview.chromium.org/2305913002/diff/40001/components/nacl/loader/nacl_helper_linux.cc File components/nacl/loader/nacl_helper_linux.cc (right): https://codereview.chromium.org/2305913002/diff/40001/components/nacl/loader/nacl_helper_linux.cc#newcode124 components/nacl/loader/nacl_helper_linux.cc:124: mojo::edk::Init(); Looking at this again, I'm rather unclear ...
4 years, 3 months ago (2016-09-02 19:16:27 UTC) #13
Sam McNally
https://codereview.chromium.org/2305913002/diff/40001/components/nacl/loader/nacl_helper_linux.cc File components/nacl/loader/nacl_helper_linux.cc (right): https://codereview.chromium.org/2305913002/diff/40001/components/nacl/loader/nacl_helper_linux.cc#newcode124 components/nacl/loader/nacl_helper_linux.cc:124: mojo::edk::Init(); On 2016/09/02 19:16:27, Mark Seaborn wrote: > Looking ...
4 years, 3 months ago (2016-09-05 07:12:25 UTC) #22
Sam McNally
jln: ping
4 years, 3 months ago (2016-09-12 07:21:49 UTC) #23
Sam McNally
On 2016/09/12 07:21:49, Sam McNally wrote: > jln: ping Is there someone else who could ...
4 years, 3 months ago (2016-09-19 03:14:44 UTC) #24
jln (very slow on Chromium)
On 2016/09/19 03:14:44, Sam McNally wrote: > On 2016/09/12 07:21:49, Sam McNally wrote: > > ...
4 years, 3 months ago (2016-09-19 22:43:01 UTC) #25
Sam McNally
On 2016/09/19 22:43:01, jln (very slow on Chromium) wrote: > On 2016/09/19 03:14:44, Sam McNally ...
4 years, 3 months ago (2016-09-19 23:30:47 UTC) #26
jln (very slow on Chromium)
On 2016/09/19 23:30:47, Sam McNally wrote: > On 2016/09/19 22:43:01, jln (very slow on Chromium) ...
4 years, 3 months ago (2016-09-20 00:45:44 UTC) #27
dcheng
The code change seems fine. My questions mostly revolve around comments (some are questions about ...
4 years, 3 months ago (2016-09-21 05:18:33 UTC) #28
Sam McNally
+jam for //content and new DEPS on //mojo. https://codereview.chromium.org/2305913002/diff/80001/components/nacl/broker/nacl_broker_listener.cc File components/nacl/broker/nacl_broker_listener.cc (right): https://codereview.chromium.org/2305913002/diff/80001/components/nacl/broker/nacl_broker_listener.cc#newcode107 components/nacl/broker/nacl_broker_listener.cc:107: // ...
4 years, 3 months ago (2016-09-21 07:49:47 UTC) #34
jam
On 2016/09/21 07:49:47, Sam McNally wrote: > +jam for //content and new DEPS on //mojo. ...
4 years, 3 months ago (2016-09-21 20:32:33 UTC) #37
dcheng
lgtm
4 years, 3 months ago (2016-09-22 01:55:45 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2305913002/140001
4 years, 3 months ago (2016-09-22 02:50:32 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 3 months ago (2016-09-22 02:56:44 UTC) #43
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/9e8780772cbf802e57c366eb8113d38af95ffd89 Cr-Commit-Position: refs/heads/master@{#420245}
4 years, 3 months ago (2016-09-22 02:59:35 UTC) #45
Ken Rockot(use gerrit already)
4 years, 2 months ago (2016-09-26 21:21:08 UTC) #47
Message was sent while issue was closed.
https://codereview.chromium.org/2305913002/diff/140001/components/nacl/browse...
File components/nacl/browser/nacl_process_host.cc (right):

https://codereview.chromium.org/2305913002/diff/140001/components/nacl/browse...
components/nacl/browser/nacl_process_host.cc:315:
process_.reset(content::BrowserChildProcessHost::Create(
I'm not sure why this CL works, but this is not correct use of
BrowserChildProcessHost. It doesn't take a child token, it only takes a service
name. It assumes responsibility for generating its own child token and uses
that.

I noticed this from seeing logged errors from ServiceManager complaining that
someone is trying to connect to an invalid service name, the name being a random
token string.

Powered by Google App Engine
This is Rietveld 408576698