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

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

Issue 2749853003: Making the Mojo Channel Messages legacy mode dynamic. (Closed)
Patch Set: Making the Mojo Channel Messages legacy mode dynamic. Created 3 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 | mojo/edk/embedder/embedder.h » ('j') | mojo/edk/system/channel.cc » ('J')
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 93c0eba1ebeb3e2830acd835fb6c7a3e53381255..ada599bae4e259c3ed23946cbad22d1803d19692 100644
--- a/content/app/mojo/mojo_init.cc
+++ b/content/app/mojo/mojo_init.cc
@@ -20,6 +20,9 @@ class MojoInitializer {
public:
MojoInitializer() {
mojo::edk::SetMaxMessageSize(IPC::Channel::kMaximumMessageSize);
+#if defined(OS_CHROMEOS)
+ mojo::edk::SetUseLegacyTransportProtocol(true);
+#endif
mojo::edk::Init();
}
};
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder.h » ('j') | mojo/edk/system/channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698