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

Issue 728113002: obsolete: SFI NaCl: Batch-open resource files (Closed)

Created:
6 years, 1 month ago by Yusuke Sato
Modified:
5 years, 9 months ago
Reviewers:
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, jam, raymes+watch_chromium.org, teravest+watch_chromium.org, darin-cc_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

SFI NaCl: Batch-open resource files This CL adds SFI NaCl support to https://codereview.chromium.org/649603004/. SFI NaCl on Windows is still not supported. * In the browser process, validate resource files in the same way as https://codereview.chromium.org/572973002/. * In the NaCl plugin process, add a hook to the IPC adapter to intercept PpapiHostMsg_OpenResource messages from the untrusted side so that the trusted side can immediately return pre-opened descriptors without issuing a Chrome IPC to the renderer process. BUG=nativeclient:3802 BUG=348232

Patch Set 1 : wip #

Patch Set 2 : review #

Total comments: 6

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -44 lines) Patch
M components/nacl/browser/nacl_browser.h View 1 chunk +28 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_browser.cc View 1 1 chunk +44 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 2 chunks +45 lines, -15 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.h View 3 chunks +20 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 2 4 chunks +28 lines, -10 lines 0 comments Download
M components/nacl/loader/nacl_listener.h View 3 chunks +14 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 4 chunks +40 lines, -3 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 chunks +9 lines, -3 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
Yusuke Sato
Please take a look.
6 years, 1 month ago (2014-11-18 20:24:13 UTC) #4
teravest
https://codereview.chromium.org/728113002/diff/60001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/728113002/diff/60001/components/nacl/browser/nacl_process_host.cc#newcode933 components/nacl/browser/nacl_process_host.cc:933: file_paths[0] = file_path; nit: This would be a bit ...
6 years, 1 month ago (2014-11-19 15:59:31 UTC) #5
Yusuke Sato
https://codereview.chromium.org/728113002/diff/60001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/728113002/diff/60001/components/nacl/browser/nacl_process_host.cc#newcode933 components/nacl/browser/nacl_process_host.cc:933: file_paths[0] = file_path; On 2014/11/19 15:59:30, teravest wrote: > ...
6 years, 1 month ago (2014-11-20 00:30:27 UTC) #6
Yusuke Sato
6 years, 1 month ago (2014-11-20 00:30:51 UTC) #7
Thanks. Please take another look.

Powered by Google App Engine
This is Rietveld 408576698