Increase MessageAttachmentSet::kMaxDescriptorsPerMessage to 128
commiteaa3c5bf9ad0ac1730eec0bfe1f166f29fe20fc2
authoryusukes <yusukes@chromium.org>
Tue, 17 Mar 2015 00:34:13 +0000 (16 17:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 Mar 2015 00:34:37 +0000 (17 00:34 +0000)
tree72d6a78c1893966b976bd5d8f8418cd9024723d7
parentc97047888c9e13602ee390c99fd78b05efe7bc26
Increase MessageAttachmentSet::kMaxDescriptorsPerMessage to 128

so that dynamically linked NaCl applications like ARC (App Runtime
for Chrome) start faster.

ARC is a dynamically linked NaCl application which lists more than
70 DSO files in its nmf file. crrev.com/319931 allowed Chrome to
pre-open up to 2 DSO files when it spawns a NaCl plugin process so
that the plugin process can open/read/map the DSO files without
issuing any Chrome IPC. This CL increase the number of DSO files
Chrome can pre-open from 2 to 120+.

BUG=348232
BUG=nativeclient:3802
TEST=ipc_tests, browser_tests (*PackagedAppTest.SuccessfulLoad)
TEST=manually tested non-SFI ARC apps

Review URL: https://codereview.chromium.org/998833002

Cr-Commit-Position: refs/heads/master@{#320831}
components/nacl/browser/nacl_host_message_filter.cc
ipc/ipc_channel_nacl.cc
ipc/ipc_message_attachment_set.h
ipc/ipc_send_fds_test.cc
ppapi/tests/extensions/extensions.gyp
ppapi/tests/extensions/packaged_app/test_packaged_app.cc