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

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

Created:
5 years, 9 months ago by Yusuke Sato
Modified:
5 years, 7 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SFI NaCl: Batch-open resource files Add a hook to the IPC adapter to intercept PpapiHostMsg_OpenResource messages from the untrusted side so that the trusted side can immediately return prefetched descriptors without issuing Chrome IPC to the renderer process. This CL is an SFI NaCl version of https://codereview.chromium.org/649603004/. BUG=nativeclient:3802 BUG=348232 TEST=browser_tests (*PackagedAppTest.SuccessfulLoad) TEST=manually tested SFI ARC apps and PNaCl demo apps Committed: https://crrev.com/7bd00a274893ee7334dfbc78ca5046f1af876382 Cr-Commit-Position: refs/heads/master@{#328382}

Patch Set 1 #

Patch Set 2 : review #

Total comments: 24

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Patch Set 5 : wip: test fix 1 #

Total comments: 2

Patch Set 6 : review #

Total comments: 6

Patch Set 7 : rebase #

Patch Set 8 : address all comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -33 lines) Patch
M components/nacl/browser/nacl_host_message_filter.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 5 6 7 3 chunks +16 lines, -14 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.h View 1 2 3 4 5 4 chunks +19 lines, -5 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 2 3 4 5 5 chunks +27 lines, -6 lines 0 comments Download
M components/nacl/loader/nacl_listener.h View 1 2 3 4 5 6 3 chunks +15 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 3 4 5 6 7 5 chunks +48 lines, -7 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (5 generated)
Yusuke Sato
Mark, please take a look.
5 years, 9 months ago (2015-03-17 21:57:47 UTC) #2
Mark Seaborn
https://codereview.chromium.org/1010183002/diff/20001/components/nacl/loader/nacl_ipc_adapter.cc File components/nacl/loader/nacl_ipc_adapter.cc (right): https://codereview.chromium.org/1010183002/diff/20001/components/nacl/loader/nacl_ipc_adapter.cc#newcode635 components/nacl/loader/nacl_ipc_adapter.cc:635: void NaClIPCAdapter::OnFileTokenResolvedLocked( Since this is reused for the new ...
5 years, 9 months ago (2015-03-20 00:40:53 UTC) #3
Yusuke Sato
Please take another look. Please review the diff between PS2 and PS3. PS5 is a ...
5 years, 8 months ago (2015-04-16 02:38:45 UTC) #5
Yusuke Sato
https://codereview.chromium.org/1010183002/diff/20001/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/1010183002/diff/20001/components/nacl/loader/nacl_listener.cc#newcode287 components/nacl/loader/nacl_listener.cc:287: if (key.find(files_prefix) == 0) On 2015/04/16 02:38:45, Yusuke Sato ...
5 years, 8 months ago (2015-04-16 03:51:14 UTC) #6
Mark Seaborn
https://codereview.chromium.org/1010183002/diff/100001/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/1010183002/diff/100001/components/nacl/loader/nacl_listener.cc#newcode367 components/nacl/loader/nacl_listener.cc:367: manifest_ipc_adapter->set_resolve_file_token_callback( Yesterday we discussed doing a small cleanup refactoring ...
5 years, 8 months ago (2015-04-16 19:00:31 UTC) #7
Yusuke Sato
https://codereview.chromium.org/1010183002/diff/100001/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/1010183002/diff/100001/components/nacl/loader/nacl_listener.cc#newcode367 components/nacl/loader/nacl_listener.cc:367: manifest_ipc_adapter->set_resolve_file_token_callback( On 2015/04/16 19:00:31, Mark Seaborn wrote: > Yesterday ...
5 years, 8 months ago (2015-04-16 20:22:02 UTC) #8
Yusuke Sato
Following your request, I've submitted two clean-up CLs and rebased this on top of them. ...
5 years, 8 months ago (2015-04-16 23:50:26 UTC) #9
Yusuke Sato
ping?
5 years, 7 months ago (2015-04-29 23:17:36 UTC) #10
Mark Seaborn
LGTM https://codereview.chromium.org/1010183002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/1010183002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode426 components/nacl/renderer/ppb_nacl_private_impl.cc:426: // TODO(yusukes): Support OS_WIN. On 2015/04/16 02:38:45, Yusuke ...
5 years, 7 months ago (2015-05-04 17:08:39 UTC) #11
Yusuke Sato
https://codereview.chromium.org/1010183002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/1010183002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode426 components/nacl/renderer/ppb_nacl_private_impl.cc:426: // TODO(yusukes): Support OS_WIN. On 2015/05/04 17:08:39, Mark Seaborn ...
5 years, 7 months ago (2015-05-05 18:27:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010183002/180001
5 years, 7 months ago (2015-05-05 18:28:54 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:180001)
5 years, 7 months ago (2015-05-05 19:41:28 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 19:43:09 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7bd00a274893ee7334dfbc78ca5046f1af876382
Cr-Commit-Position: refs/heads/master@{#328382}

Powered by Google App Engine
This is Rietveld 408576698