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

Unified Diff: third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h

Issue 1035933002: Update mojo sdk to rev 912f52f69dadbe1e3cf9576f26731863770bcfc3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h b/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h
index 34efcad5275a7d121166ba2034abcbba76ce26ca..3073632e5098b2abbf17d46bfbb22466d9cbd110 100644
--- a/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h
+++ b/third_party/mojo/src/mojo/edk/embedder/platform_channel_utils_posix.h
@@ -21,9 +21,9 @@ namespace embedder {
// The maximum number of handles that can be sent "at once" using
// |PlatformChannelSendmsgWithHandles()|.
-// TODO(vtl): This number is taken from ipc/file_descriptor_set_posix.h:
-// |FileDescriptorSet::kMaxDescriptorsPerMessage|. Where does it come from?
-const size_t kPlatformChannelMaxNumHandles = 7;
+// TODO(vtl): This number is taken from ipc/ipc_message_attachment_set.h:
+// |IPC::MessageAttachmentSet::kMaxDescriptorsPerMessage|.
+const size_t kPlatformChannelMaxNumHandles = 128;
// Use these to write to a socket created using |PlatformChannelPair| (or
// equivalent). These are like |write()| and |writev()|, but handle |EINTR| and
« no previous file with comments | « build/module_args/mojo.gni ('k') | third_party/mojo/src/mojo/edk/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698