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

Unified Diff: content/app/mojo/mojo_init.cc

Issue 1029703002: ChannelMojo: Grow IPC message upper limit to 128MB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/mojo/mojo_init.cc
diff --git a/content/app/mojo/mojo_init.cc b/content/app/mojo/mojo_init.cc
index c70625552bb9b77124eae1fb941e2cdcfac98395..bf92f64886f4d65ca69bf30a0982ec4282d6e36f 100644
--- a/content/app/mojo/mojo_init.cc
+++ b/content/app/mojo/mojo_init.cc
@@ -6,6 +6,7 @@
#include "base/lazy_instance.h"
#include "base/memory/scoped_ptr.h"
+#include "ipc/ipc_channel.h"
#include "third_party/mojo/src/mojo/edk/embedder/configuration.h"
#include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
#include "third_party/mojo/src/mojo/edk/embedder/simple_platform_support.h"
@@ -18,7 +19,7 @@ class MojoInitializer {
public:
MojoInitializer() {
mojo::embedder::GetConfiguration()->max_message_num_bytes =
- 64 * 1024 * 1024;
+ IPC::Channel::kMaximumMessageSize;
mojo::embedder::Init(scoped_ptr<mojo::embedder::PlatformSupport>(
new mojo::embedder::SimplePlatformSupport()));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698