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

Unified Diff: ipc/mojo/ipc_channel_mojo.cc

Issue 664413003: Turn ChannelMojo on Mac and Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: ipc/mojo/ipc_channel_mojo.cc
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc
index a93adf168efb68c8822392d4e32ed826825d7cf3..6f4a0bec7afffd36b2ed218b9ba21e56f54ccff3 100644
--- a/ipc/mojo/ipc_channel_mojo.cc
+++ b/ipc/mojo/ipc_channel_mojo.cc
@@ -52,8 +52,15 @@ void ChannelMojo::ChannelInfoDeleter::operator()(
// static
bool ChannelMojo::ShouldBeUsed() {
- // TODO(morrita): Turn this on for a set of platforms.
+ // Being conservative, this is currently enabled only on Mac and
+ // Linux even though this should work on all platform,
viettrungluu 2014/10/21 18:28:18 s/platform/platforms/ (also, , -> .)
+ // TODO(morrita): Turn this on all platform and kill
+ // --enable-renderer-mojo-channel
+#if defined(OS_POSIX) && !defined(OS_ANDROID)
+ return true;
+#else
return false;
+#endif
}
// static
« 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