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

Issue 11428063: Add a flag to LaunchSelLdr to skip grabbing a routing_id. (Closed)

Created:
8 years ago by jvoung (off chromium)
Modified:
8 years ago
Reviewers:
bbudge, brettw
CC:
chromium-reviews, yusukes+watch_chromium.org, raymes+watch_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org, sehr
Visibility:
Public.

Description

Add a flag to LaunchSelLdr to skip grabbing a routing_id. Finding the routing id requires LaunchSelLdr to run from the main thread. However, some sel_ldr instances host nexes that do not actually need to use Pepper APIs (e.g., the PNaCl translator), and should be run on a background thread. BUG= http://code.google.com/p/nativeclient/issues/detail?id=3176 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171020

Patch Set 1 #

Total comments: 4

Patch Set 2 : add comment -- skip creation Pepper message filter if routing_id is bad. #

Patch Set 3 : cleanup #

Patch Set 4 : rebase #

Patch Set 5 : skip PPAPI in nacl_process_host #

Total comments: 2

Patch Set 6 : simplify #

Patch Set 7 : reduce mod #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -18 lines) Patch
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/pepper/ppb_nacl_private_impl.cc View 1 3 chunks +23 lines, -12 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 1 chunk +5 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/nacl_entry_points.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 4 chunks +8 lines, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jvoung (off chromium)
8 years ago (2012-11-29 00:57:47 UTC) #1
bbudge
LGTM w/comment https://codereview.chromium.org/11428063/diff/1/ppapi/api/private/ppb_nacl_private.idl File ppapi/api/private/ppb_nacl_private.idl (right): https://codereview.chromium.org/11428063/diff/1/ppapi/api/private/ppb_nacl_private.idl#newcode35 ppapi/api/private/ppb_nacl_private.idl:35: */ We should probably add a comment ...
8 years ago (2012-11-29 02:12:02 UTC) #2
brettw
LGTM https://codereview.chromium.org/11428063/diff/1/chrome/renderer/pepper/ppb_nacl_private_impl.cc File chrome/renderer/pepper/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/11428063/diff/1/chrome/renderer/pepper/ppb_nacl_private_impl.cc#newcode75 chrome/renderer/pepper/ppb_nacl_private_impl.cc:75: webkit::ppapi::PluginInstance* plugin_instance = Can you add an assertion ...
8 years ago (2012-11-29 04:57:18 UTC) #3
brettw
Wait, we should also change the browser process side of the nacl process host to ...
8 years ago (2012-11-29 04:59:03 UTC) #4
jvoung (off chromium)
+cc sehr and dschuff, who might need to take over this CL since I'm on ...
8 years ago (2012-11-29 22:46:46 UTC) #5
bbudge
On 2012/11/29 22:46:46, jvoung (cr) wrote: > +cc sehr and dschuff, who might need to ...
8 years ago (2012-11-29 23:18:34 UTC) #6
jvoung (off chromium)
On 2012/11/29 23:18:34, bbudge1 wrote: > On 2012/11/29 22:46:46, jvoung (cr) wrote: > > +cc ...
8 years ago (2012-11-29 23:44:25 UTC) #7
jvoung (off chromium)
On 2012/11/29 23:44:25, jvoung (cr) wrote: > On 2012/11/29 23:18:34, bbudge1 wrote: > > On ...
8 years ago (2012-11-30 00:32:57 UTC) #8
bbudge
https://codereview.chromium.org/11428063/diff/5003/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://codereview.chromium.org/11428063/diff/5003/chrome/browser/nacl_host/nacl_process_host.cc#newcode745 chrome/browser/nacl_host/nacl_process_host.cc:745: if (!enable_ipc_proxy_ || !render_view_id_) { If you really don't ...
8 years ago (2012-11-30 00:49:45 UTC) #9
jvoung (off chromium)
https://codereview.chromium.org/11428063/diff/5003/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://codereview.chromium.org/11428063/diff/5003/chrome/browser/nacl_host/nacl_process_host.cc#newcode745 chrome/browser/nacl_host/nacl_process_host.cc:745: if (!enable_ipc_proxy_ || !render_view_id_) { On 2012/11/30 00:49:46, bbudge1 ...
8 years ago (2012-11-30 01:34:09 UTC) #10
bbudge
LGTM if it works for your use case.
8 years ago (2012-12-03 21:06:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/11428063/5007
8 years ago (2012-12-04 16:44:28 UTC) #12
Derek Schuff
On 2012/12/04 16:44:28, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years ago (2012-12-04 17:06:07 UTC) #13
commit-bot: I haz the power
8 years ago (2012-12-04 19:20:47 UTC) #14
Message was sent while issue was closed.
Change committed as 171020

Powered by Google App Engine
This is Rietveld 408576698