| 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/pnacl_srpc_lib.h" | 5 #include "native_client/src/trusted/plugin/pnacl_srpc_lib.h" |
| 6 | 6 |
| 7 #include <stdarg.h> | 7 #include <stdarg.h> |
| 8 | 8 |
| 9 #include "native_client/src/trusted/plugin/browser_interface.h" | 9 #include "native_client/src/trusted/plugin/browser_interface.h" |
| 10 #include "native_client/src/trusted/plugin/method_map.h" | 10 #include "native_client/src/trusted/plugin/method_map.h" |
| 11 #include "native_client/src/trusted/plugin/nacl_subprocess.h" | 11 #include "native_client/src/trusted/plugin/nacl_subprocess.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 *kMethodIdent = browser_interface->StringToIdentifier(method_name); | 102 *kMethodIdent = browser_interface->StringToIdentifier(method_name); |
| 103 if (!(subprocess->HasMethod(*kMethodIdent))) { | 103 if (!(subprocess->HasMethod(*kMethodIdent))) { |
| 104 PLUGIN_PRINTF(("SetupSrpcInvocation (no %s method found)\n", | 104 PLUGIN_PRINTF(("SetupSrpcInvocation (no %s method found)\n", |
| 105 method_name.c_str())); | 105 method_name.c_str())); |
| 106 return false; | 106 return false; |
| 107 } | 107 } |
| 108 return subprocess->InitParams(*kMethodIdent, params); | 108 return subprocess->InitParams(*kMethodIdent, params); |
| 109 } | 109 } |
| 110 | 110 |
| 111 } // namespace plugin | 111 } // namespace plugin |
| OLD | NEW |