Chromium Code Reviews| 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 |
|
Mark Seaborn
2014/02/07 23:54:10
Same comments here as in plugin.cc about runtime e
hidehiko
2014/02/10 08:18:34
Acknowledged.
|
| // 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_) { |