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

Side by Side Diff: components/nacl/renderer/plugin/nacl_subprocess.cc

Issue 876483002: NaCl: Move src/trusted/plugin/ to components/nacl/renderer/plugin/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update #include guards Created 5 years, 10 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698