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

Unified Diff: chrome/nacl/nacl_listener.cc

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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: chrome/nacl/nacl_listener.cc
===================================================================
--- chrome/nacl/nacl_listener.cc (revision 133072)
+++ chrome/nacl/nacl_listener.cc (working copy)
@@ -180,6 +180,12 @@
return;
}
+ ppapi_channel_.reset(
+ new IPC::SyncChannel(this, io_thread_.message_loop_proxy(),
+ &shutdown_event_));
+ ppapi_channel_->Init(
+ params.ppapi_channel_name, IPC::Channel::MODE_SERVER, true);
+
std::vector<nacl::FileDescriptor> handles = params.handles;
#if defined(OS_LINUX) || defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698