summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authoryusukes <yusukes@chromium.org>2015-03-10 11:51:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-10 18:52:23 +0000
commit67e8acdac9e043dd710058ef2e01ca7ad2b29825 (patch)
treeb5d78e0812e8be26779a803bfc53fa69b986e969 /BUILD.gn
parentefe950c2db75b0cfd043e068a4cfc68ab393dac4 (diff)
downloadchromium_src-67e8acdac9e043dd710058ef2e01ca7ad2b29825.zip
chromium_src-67e8acdac9e043dd710058ef2e01ca7ad2b29825.tar.gz
chromium_src-67e8acdac9e043dd710058ef2e01ca7ad2b29825.tar.bz2
Non-SFI NaCl: Batch-open resource files
* Let the renderer pass URLs and manifest keys of the resource files when it asks the browser to start a new plugin process. * The browser opens all the URLs and passes file handlers to the plugin process if the process is for non-SFI mode. * Modify the non-SFI loader so that it can return a pre-opened handle without doing a renderer IPC when open_resource IRT is called. This CL does not change the current behavior of SFI NaCl. SFI NaCl support will be added in a separate CL: https://codereview.chromium.org/728113002/ Note that this CL is primarily for ARC (App Runtime for Chrome) which has 70+ DSO files. With this CL, the loading time of arc.nexe gets ~40% shorter. This CL should not affect NaCl applications other than ARC because most of them do not have that many DSO files, and even if they have some, opening one DSO file in the browser process takes only about 0.4ms (on Z620) which is usually negligible. TEST=PackagedAppTest.SuccessfulLoad TEST=manually checked that SFI-NaCl and PNaCl are still working. BUG=nativeclient:3802 BUG=348232 Review URL: https://codereview.chromium.org/649603004 Cr-Commit-Position: refs/heads/master@{#319931}
Diffstat (limited to 'BUILD.gn')
0 files changed, 0 insertions, 0 deletions