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

Issue 1044953003: Init Mojo embedder for Windows NaCl plugins. (Closed)

Created:
5 years, 8 months ago by teravest
Modified:
5 years, 8 months ago
CC:
chromium-reviews, dmichael (off chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Init Mojo embedder for Windows NaCl plugins. With this change (and another fix for NACL_BUILD_SUBARCH), we can test Pepper/Mojo/NaCl support on Windows. This also moves embedder initialization to nacl_helper for clarity: The Mojo embedder must be initialized in nacl_helper when that process is used. When the plugin is running in a chrome process, ContentMain() handles Mojo embedder initialization. BUG=414804 R=dmichael@chromium.org, ncbray@chromium.org Committed: https://crrev.com/75386dca6ebff785e62eb52472e660c757d5b2e8 Cr-Commit-Position: refs/heads/master@{#323750}

Patch Set 1 #

Patch Set 2 : workaround2 #

Patch Set 3 : fixed stack trace #

Patch Set 4 : Don't call embedder init on Windows. #

Patch Set 5 : Move embedder init to helpers #

Total comments: 2

Patch Set 6 : Add bug number to nonsfi todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M components/nacl.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/loader/nacl_helper_linux.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_helper_win_64.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 3 4 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
teravest
5 years, 8 months ago (2015-04-01 16:04:59 UTC) #5
teravest
Agh, I sent this out a bit too soon. Investigating the 32-bit windows failure. On ...
5 years, 8 months ago (2015-04-01 17:18:13 UTC) #6
teravest
Okay, I think this is ready for review now. I backed off on moving content::InitializeMojo ...
5 years, 8 months ago (2015-04-01 22:58:18 UTC) #7
Nick Bray (chromium)
Initial pass seems good, but it's late in the day and I want to look ...
5 years, 8 months ago (2015-04-02 01:22:00 UTC) #8
teravest
On 2015/04/02 01:22:00, Nick Bray (chromium) wrote: > Initial pass seems good, but it's late ...
5 years, 8 months ago (2015-04-02 14:06:32 UTC) #9
dmichael (off chromium)
Probably a good idea to update the description, since this does more than enable the ...
5 years, 8 months ago (2015-04-02 16:05:05 UTC) #11
Nick Bray (chromium)
LGTM https://codereview.chromium.org/1044953003/diff/140001/components/nacl/loader/nacl_helper_linux.cc File components/nacl/loader/nacl_helper_linux.cc (right): https://codereview.chromium.org/1044953003/diff/140001/components/nacl/loader/nacl_helper_linux.cc#newcode465 components/nacl/loader/nacl_helper_linux.cc:465: // TODO(teravest): Enable mojo for nonsfi. What's the ...
5 years, 8 months ago (2015-04-02 21:40:20 UTC) #12
teravest
On 2015/04/02 21:40:20, Nick Bray (chromium) wrote: > LGTM > > https://codereview.chromium.org/1044953003/diff/140001/components/nacl/loader/nacl_helper_linux.cc > File components/nacl/loader/nacl_helper_linux.cc ...
5 years, 8 months ago (2015-04-02 22:20:25 UTC) #13
teravest
Committed patchset #6 (id:160001) manually as 75386dca6ebff785e62eb52472e660c757d5b2e8 (presubmit successful).
5 years, 8 months ago (2015-04-03 16:18:05 UTC) #14
Sergey Ulanov
Looks like this change broke browser_tests on windows: https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/36777
5 years, 8 months ago (2015-04-03 19:07:11 UTC) #16
teravest
A revert of this CL (patchset #6 id:160001) has been created in https://codereview.chromium.org/1053313002/ by teravest@chromium.org. ...
5 years, 8 months ago (2015-04-03 19:25:23 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:38:05 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/75386dca6ebff785e62eb52472e660c757d5b2e8
Cr-Commit-Position: refs/heads/master@{#323750}

Powered by Google App Engine
This is Rietveld 408576698