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 "ppapi/native_client/src/trusted/plugin/nacl_subprocess.h" |
6 | 6 |
7 #include <stdarg.h> | 7 #include <stdarg.h> |
8 | 8 |
| 9 #include <sstream> |
| 10 |
9 #include "native_client/src/shared/srpc/nacl_srpc.h" | 11 #include "native_client/src/shared/srpc/nacl_srpc.h" |
10 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h" | 12 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h" |
11 #include "ppapi/native_client/src/trusted/plugin/srpc_params.h" | 13 #include "ppapi/native_client/src/trusted/plugin/srpc_params.h" |
12 | 14 |
13 namespace plugin { | 15 namespace plugin { |
14 | 16 |
15 std::string NaClSubprocess::detailed_description() const { | 17 std::string NaClSubprocess::detailed_description() const { |
16 std::stringstream ss; | 18 std::stringstream ss; |
17 ss << description() | 19 ss << description() |
18 << "={ this=" << static_cast<const void*>(this) | 20 << "={ this=" << static_cast<const void*>(this) |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } | 129 } |
128 params->ins()[i]->arrays.str = input; | 130 params->ins()[i]->arrays.str = input; |
129 break; | 131 break; |
130 } | 132 } |
131 } | 133 } |
132 } | 134 } |
133 return srpc_client_->Invoke(method_name, params); | 135 return srpc_client_->Invoke(method_name, params); |
134 } | 136 } |
135 | 137 |
136 } // namespace plugin | 138 } // namespace plugin |
OLD | NEW |