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

Unified Diff: ppapi/native_client/src/trusted/plugin/service_runtime.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, 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 | « ppapi/native_client/src/trusted/plugin/service_runtime.h ('k') | webkit/plugins/ppapi/plugin_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/service_runtime.cc
===================================================================
--- ppapi/native_client/src/trusted/plugin/service_runtime.cc (revision 143480)
+++ ppapi/native_client/src/trusted/plugin/service_runtime.cc (working copy)
@@ -623,7 +623,9 @@
}
bool ServiceRuntime::Start(nacl::DescWrapper* nacl_desc,
- ErrorInfo* error_info, const nacl::string& url) {
+ ErrorInfo* error_info,
+ const nacl::string& url,
+ void** ipc_channel_handle) {
PLUGIN_PRINTF(("ServiceRuntime::Start (nacl_desc=%p)\n",
reinterpret_cast<void*>(nacl_desc)));
@@ -643,7 +645,9 @@
#ifdef NACL_STANDALONE
bool started = tmp_subprocess->Start(url.c_str());
#else
- bool started = tmp_subprocess->Start(plugin_->pp_instance(), url.c_str());
+ bool started = tmp_subprocess->Start(plugin_->pp_instance(),
+ url.c_str(),
+ ipc_channel_handle);
#endif
if (!started) {
PLUGIN_PRINTF(("ServiceRuntime::Start (start failed)\n"));
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/service_runtime.h ('k') | webkit/plugins/ppapi/plugin_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698