OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ppapi/native_client/src/trusted/plugin/nacl_subprocess.h" | 5 #include "components/nacl/renderer/plugin/nacl_subprocess.h" |
6 | 6 |
7 #include <stdarg.h> | 7 #include <stdarg.h> |
8 | 8 |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
| 11 #include "components/nacl/renderer/plugin/plugin_error.h" |
| 12 #include "components/nacl/renderer/plugin/srpc_params.h" |
11 #include "native_client/src/shared/srpc/nacl_srpc.h" | 13 #include "native_client/src/shared/srpc/nacl_srpc.h" |
12 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h" | |
13 #include "ppapi/native_client/src/trusted/plugin/srpc_params.h" | |
14 | 14 |
15 namespace plugin { | 15 namespace plugin { |
16 | 16 |
17 NaClSubprocess::NaClSubprocess(const std::string& description, | 17 NaClSubprocess::NaClSubprocess(const std::string& description, |
18 ServiceRuntime* service_runtime, | 18 ServiceRuntime* service_runtime, |
19 SrpcClient* srpc_client) | 19 SrpcClient* srpc_client) |
20 : description_(description), | 20 : description_(description), |
21 service_runtime_(service_runtime), | 21 service_runtime_(service_runtime), |
22 srpc_client_(srpc_client) { | 22 srpc_client_(srpc_client) { |
23 } | 23 } |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 } | 137 } |
138 params->ins()[i]->arrays.str = input; | 138 params->ins()[i]->arrays.str = input; |
139 break; | 139 break; |
140 } | 140 } |
141 } | 141 } |
142 } | 142 } |
143 return srpc_client_->Invoke(method_name, params); | 143 return srpc_client_->Invoke(method_name, params); |
144 } | 144 } |
145 | 145 |
146 } // namespace plugin | 146 } // namespace plugin |
OLD | NEW |