OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #include "components/nacl/renderer/plugin/srpc_client.h" | 7 #include "components/nacl/renderer/plugin/srpc_client.h" |
8 | 8 |
| 9 #include <limits.h> |
9 #include <stdint.h> | 10 #include <stdint.h> |
10 #include <string.h> | 11 #include <string.h> |
11 | 12 |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "components/nacl/renderer/plugin/plugin.h" | 14 #include "components/nacl/renderer/plugin/plugin.h" |
14 #include "components/nacl/renderer/plugin/srpc_params.h" | 15 #include "components/nacl/renderer/plugin/srpc_params.h" |
15 #include "components/nacl/renderer/plugin/utility.h" | 16 #include "components/nacl/renderer/plugin/utility.h" |
16 #include "native_client/src/shared/platform/nacl_log.h" | 17 #include "native_client/src/shared/platform/nacl_log.h" |
17 | 18 |
18 namespace plugin { | 19 namespace plugin { |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 PLUGIN_PRINTF(("SrpcClient::Invoke (err='%s', return 0)\n", | 188 PLUGIN_PRINTF(("SrpcClient::Invoke (err='%s', return 0)\n", |
188 NaClSrpcErrorString(last_error_))); | 189 NaClSrpcErrorString(last_error_))); |
189 return false; | 190 return false; |
190 } | 191 } |
191 | 192 |
192 PLUGIN_PRINTF(("SrpcClient::Invoke (return 1)\n")); | 193 PLUGIN_PRINTF(("SrpcClient::Invoke (return 1)\n")); |
193 return true; | 194 return true; |
194 } | 195 } |
195 | 196 |
196 } // namespace plugin | 197 } // namespace plugin |
OLD | NEW |