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

Issue 484783002: Pepper: Report NaCl exit status over Chromium IPC. (Closed)

Created:
6 years, 4 months ago by teravest
Modified:
6 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Pepper: Report NaCl exit status over Chromium IPC. This change uses a NaCl embedder interface for getting the exit status inside the loader process instead of receiving that information over SRPC. The IPC message introduced here must be synchronous so that we're guaranteed to report the exit status before the loader process exits. BUG=397161 TEST=NaClBrowserTest.ExitStatus* R=dmichael@chromium.org, jschuh@chromium.org, mseaborn@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291480

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : fixes for mseaborn #

Total comments: 10

Patch Set 4 : Don't depend on the translator not using the IRT. #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -98 lines) Patch
M components/nacl.gyp View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
A components/nacl/common/nacl_renderer_messages.h View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A + components/nacl/common/nacl_renderer_messages.cc View 1 chunk +7 lines, -8 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M components/nacl/renderer/nexe_load_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 3 chunks +4 lines, -18 lines 0 comments Download
M components/nacl/renderer/trusted_plugin_channel.h View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M components/nacl/renderer/trusted_plugin_channel.cc View 1 2 2 chunks +20 lines, -3 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 1 chunk +0 lines, -7 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 chunks +1 line, -5 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 chunks +0 lines, -23 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.h View 1 1 chunk +0 lines, -7 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
teravest
6 years, 4 months ago (2014-08-21 20:10:26 UTC) #1
Mark Seaborn
Could you say, in TEST=, which test covers the exit status reporting? (As an aside: ...
6 years, 4 months ago (2014-08-21 21:12:32 UTC) #2
teravest
I've added the relevant test to the TEST= line. I'd like to get this working ...
6 years, 4 months ago (2014-08-22 16:07:12 UTC) #3
dmichael (off chromium)
lgtm https://codereview.chromium.org/484783002/diff/140001/components/nacl/common/nacl_renderer_messages.cc File components/nacl/common/nacl_renderer_messages.cc (right): https://codereview.chromium.org/484783002/diff/140001/components/nacl/common/nacl_renderer_messages.cc#newcode1 components/nacl/common/nacl_renderer_messages.cc:1: // Copyright (c) 2014 The Chromium Authors. All ...
6 years, 4 months ago (2014-08-22 16:41:07 UTC) #4
teravest
https://codereview.chromium.org/484783002/diff/140001/ppapi/native_client/src/trusted/plugin/service_runtime.cc File ppapi/native_client/src/trusted/plugin/service_runtime.cc (right): https://codereview.chromium.org/484783002/diff/140001/ppapi/native_client/src/trusted/plugin/service_runtime.cc#newcode240 ppapi/native_client/src/trusted/plugin/service_runtime.cc:240: void PluginReverseInterface::ReportExitStatus(int exit_status) { On 2014/08/22 16:41:07, dmichael wrote: ...
6 years, 4 months ago (2014-08-22 16:51:58 UTC) #5
Mark Seaborn
LGTM https://codereview.chromium.org/484783002/diff/140001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/484783002/diff/140001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode409 components/nacl/renderer/ppb_nacl_private_impl.cc:409: // TODO(teravest): Use a separate is_helper_process field instead ...
6 years, 4 months ago (2014-08-22 17:36:55 UTC) #6
Mark Seaborn
On 22 August 2014 09:07, <teravest@chromium.org> wrote: > I'd like to get this working for ...
6 years, 4 months ago (2014-08-22 17:38:44 UTC) #7
dmichael (off chromium)
https://codereview.chromium.org/484783002/diff/140001/components/nacl/renderer/trusted_plugin_channel.h File components/nacl/renderer/trusted_plugin_channel.h (right): https://codereview.chromium.org/484783002/diff/140001/components/nacl/renderer/trusted_plugin_channel.h#newcode42 components/nacl/renderer/trusted_plugin_channel.h:42: // Non-owning pointer. On 2014/08/22 17:36:55, Mark Seaborn wrote: ...
6 years, 4 months ago (2014-08-22 17:39:00 UTC) #8
teravest
https://codereview.chromium.org/484783002/diff/140001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/484783002/diff/140001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode409 components/nacl/renderer/ppb_nacl_private_impl.cc:409: // TODO(teravest): Use a separate is_helper_process field instead of ...
6 years, 4 months ago (2014-08-22 18:54:56 UTC) #9
teravest
+jschuh for components/nacl/common/nacl_renderer_messages.* This change adds a sync IPC message for reporting the exit status ...
6 years, 4 months ago (2014-08-22 18:55:58 UTC) #10
jschuh
ipc security lgtm
6 years, 4 months ago (2014-08-22 19:17:45 UTC) #11
teravest
6 years, 4 months ago (2014-08-22 19:45:35 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 manually as 291480 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698