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

Unified Diff: ppapi/native_client/src/trusted/plugin/plugin.cc

Issue 140573003: Connect PPAPI IPC channels for non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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: ppapi/native_client/src/trusted/plugin/plugin.cc
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc
index 292382506179c49e7b5add95a20fb11005231d44..39e7bed2ef674d963ac5e995b20d72e8ab814190 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc
@@ -385,6 +385,7 @@ bool Plugin::LoadNaClModule(nacl::DescWrapper* wrapper,
}
bool Plugin::LoadNaClModuleContinuationIntern(ErrorInfo* error_info) {
+#if 0
Mark Seaborn 2014/02/07 23:54:10 So the trusted plugin will need to know whether we
hidehiko 2014/02/10 08:18:34 Thank you for pointing this out. So, I think this
Mark Seaborn 2014/02/10 18:57:35 Yes.
if (!main_subprocess_.StartSrpcServices()) {
// The NaCl process probably crashed. On Linux, a crash causes this error,
// while on other platforms, the error is detected below, when we attempt to
@@ -396,6 +397,7 @@ bool Plugin::LoadNaClModuleContinuationIntern(ErrorInfo* error_info) {
"could not initialize module.");
return false;
}
+#endif
PP_ExternalPluginResult ipc_result =
nacl_interface_->StartPpapiProxy(pp_instance());
if (ipc_result == PP_EXTERNAL_PLUGIN_OK) {

Powered by Google App Engine
This is Rietveld 408576698