Chromium Code Reviews

Unified Diff: ppapi/tests/extensions/packaged_app/test_packaged_app.cc

Issue 998833002: Increase MessageAttachmentSet::kMaxDescriptorsPerMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ppapi/tests/extensions/packaged_app/test_packaged_app.cc
diff --git a/ppapi/tests/extensions/packaged_app/test_packaged_app.cc b/ppapi/tests/extensions/packaged_app/test_packaged_app.cc
index b74c979de33aed51a293da66b57794a6bacd36fd..bdbc68386a0f27c43bc9a27ec6c9b18fea7d5a57 100644
--- a/ppapi/tests/extensions/packaged_app/test_packaged_app.cc
+++ b/ppapi/tests/extensions/packaged_app/test_packaged_app.cc
@@ -22,11 +22,11 @@ namespace {
std::string g_last_error;
pp::Instance* g_instance = NULL;
-// This should be the same as FileDescriptorSet::kMaxDescriptorsPerMessage in
-// ipc/file_descriptor_set_posix.h.
+// This should be the same as MessageAttachmentSet::kMaxDescriptorsPerMessage in
+// ipc/ipc_message_attachment_set.h.
// TODO(yusukes): Once all the NaCl toolchains support C++11, Add
// #include "ipc/file_descriptor_set_posix.h" and remove the constant.
-const size_t kMaxDescriptorsPerMessage = 7;
+const size_t kMaxDescriptorsPerMessage = 128;
// Returns true if the resource file whose name is |key| exists and its content
// matches |content|.
« ppapi/tests/extensions/extensions.gyp ('K') | « ppapi/tests/extensions/extensions.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine