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

Unified Diff: mojo/edk/system/node_channel.cc

Issue 2071143003: Various changes to make Mojo work under NaCl non-sfi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and comment Created 4 years, 6 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 | « mojo/edk/embedder/platform_channel_utils_posix.cc ('k') | mojo/edk/system/node_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/node_channel.cc
diff --git a/mojo/edk/system/node_channel.cc b/mojo/edk/system/node_channel.cc
index 5452cc96ef131526bcc199203e0f7892b1014276..e84c5a21e5e14bbfb4eb16589ed75178a5351f50 100644
--- a/mojo/edk/system/node_channel.cc
+++ b/mojo/edk/system/node_channel.cc
@@ -156,8 +156,8 @@ scoped_refptr<NodeChannel> NodeChannel::Create(
ScopedPlatformHandle platform_handle,
scoped_refptr<base::TaskRunner> io_task_runner,
const ProcessErrorCallback& process_error_callback) {
-#if defined(OS_NACL)
- LOG(FATAL) << "Multi-process not yet supported on NaCl";
+#if defined(OS_NACL_SFI)
+ LOG(FATAL) << "Multi-process not yet supported on NaCl-SFI";
return nullptr;
#else
return new NodeChannel(delegate, std::move(platform_handle), io_task_runner,
@@ -426,7 +426,7 @@ NodeChannel::NodeChannel(Delegate* delegate,
: delegate_(delegate),
io_task_runner_(io_task_runner),
process_error_callback_(process_error_callback)
-#if !defined(OS_NACL)
+#if !defined(OS_NACL_SFI)
, channel_(
Channel::Create(this, std::move(platform_handle), io_task_runner_))
#endif
« no previous file with comments | « mojo/edk/embedder/platform_channel_utils_posix.cc ('k') | mojo/edk/system/node_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698