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

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

Issue 139993009: [WIP] Yet another demo for BMM NaCl ppapi connection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/service_runtime.cc
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
index 1e2301376a41dca1eb5f06d23c8b797d37ea37ed..d9c12aeb78143e48e4be704f92569b3caa13abb0 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -513,6 +513,7 @@ bool ServiceRuntime::LoadModule(nacl::DescWrapper* nacl_desc,
}
bool ServiceRuntime::InitReverseService(ErrorInfo* error_info) {
+#if 0
// Hook up the reverse service channel. We are the IMC client, but
// provide SRPC service.
NaClDesc* out_conn_cap;
@@ -545,10 +546,14 @@ bool ServiceRuntime::InitReverseService(ErrorInfo* error_info) {
"ServiceRuntime: starting reverse services failed");
return false;
}
+#else
+ rev_interface_->StartupInitializationComplete();
+#endif
return true;
}
bool ServiceRuntime::StartModule(ErrorInfo* error_info) {
+#if 0
// start the module. otherwise we cannot connect for multimedia
// subsystem since that is handled by user-level code (not secure!)
// in libsrpc.
@@ -563,6 +568,9 @@ bool ServiceRuntime::StartModule(ErrorInfo* error_info) {
"ServiceRuntime: could not start nacl module");
return false;
}
+#else
+ int load_status = LOAD_OK;
+#endif
NaClLog(4, "ServiceRuntime::StartModule (load_status=%d)\n",
load_status);
if (main_service_runtime_) {

Powered by Google App Engine
This is Rietveld 408576698