| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "native_client/src/trusted/plugin/nacl_subprocess.h" | 5 #include "native_client/src/trusted/plugin/nacl_subprocess.h" |
| 6 | 6 |
| 7 #include "native_client/src/trusted/plugin/plugin_error.h" | 7 #include "native_client/src/trusted/plugin/plugin_error.h" |
| 8 #include "native_client/src/trusted/plugin/scriptable_handle.h" | 8 #include "native_client/src/trusted/plugin/scriptable_handle.h" |
| 9 #include "native_client/src/trusted/plugin/service_runtime.h" | 9 #include "native_client/src/trusted/plugin/service_runtime.h" |
| 10 | 10 |
| 11 namespace plugin { | 11 namespace plugin { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 } | 67 } |
| 68 | 68 |
| 69 bool NaClSubprocess::Invoke(uintptr_t method_id, SrpcParams* params) const { | 69 bool NaClSubprocess::Invoke(uintptr_t method_id, SrpcParams* params) const { |
| 70 if (NULL == srpc_client_.get()) { | 70 if (NULL == srpc_client_.get()) { |
| 71 return false; | 71 return false; |
| 72 } | 72 } |
| 73 return srpc_client_->Invoke(method_id, params); | 73 return srpc_client_->Invoke(method_id, params); |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace plugin | 76 } // namespace plugin |
| OLD | NEW |