| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Native Client 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // | 6 // |
| 7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
| 8 // | 8 // |
| 9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
| 10 | 10 |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 message_bytes, message | 276 message_bytes, message |
| 277 ); | 277 ); |
| 278 if (retval == NACL_SRPC_RESULT_INTERNAL) | 278 if (retval == NACL_SRPC_RESULT_INTERNAL) |
| 279 ppapi_proxy::CleanUpAfterDeadNexe(instance); | 279 ppapi_proxy::CleanUpAfterDeadNexe(instance); |
| 280 return retval; | 280 return retval; |
| 281 } | 281 } |
| 282 | 282 |
| 283 NaClSrpcError PppPrintingRpcClient::PPP_Printing_QuerySupportedFormats( | 283 NaClSrpcError PppPrintingRpcClient::PPP_Printing_QuerySupportedFormats( |
| 284 NaClSrpcChannel* channel, | 284 NaClSrpcChannel* channel, |
| 285 PP_Instance instance, | 285 PP_Instance instance, |
| 286 nacl_abi_size_t* formats_bytes, char* formats, | 286 int32_t* formats) { |
| 287 int32_t* format_count) { | |
| 288 NaClSrpcError retval; | 287 NaClSrpcError retval; |
| 289 retval = NaClSrpcInvokeBySignature( | 288 retval = NaClSrpcInvokeBySignature( |
| 290 channel, | 289 channel, |
| 291 "PPP_Printing_QuerySupportedFormats:i:Ci", | 290 "PPP_Printing_QuerySupportedFormats:i:i", |
| 292 instance, | 291 instance, |
| 293 formats_bytes, formats, | 292 formats |
| 294 format_count | |
| 295 ); | 293 ); |
| 296 if (retval == NACL_SRPC_RESULT_INTERNAL) | 294 if (retval == NACL_SRPC_RESULT_INTERNAL) |
| 297 ppapi_proxy::CleanUpAfterDeadNexe(instance); | 295 ppapi_proxy::CleanUpAfterDeadNexe(instance); |
| 298 return retval; | 296 return retval; |
| 299 } | 297 } |
| 300 | 298 |
| 301 NaClSrpcError PppPrintingRpcClient::PPP_Printing_Begin( | 299 NaClSrpcError PppPrintingRpcClient::PPP_Printing_Begin( |
| 302 NaClSrpcChannel* channel, | 300 NaClSrpcChannel* channel, |
| 303 PP_Instance instance, | 301 PP_Instance instance, |
| 304 nacl_abi_size_t print_settings_bytes, char* print_settings, | 302 nacl_abi_size_t print_settings_bytes, char* print_settings, |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 instance, | 432 instance, |
| 435 factor, | 433 factor, |
| 436 text_only | 434 text_only |
| 437 ); | 435 ); |
| 438 if (retval == NACL_SRPC_RESULT_INTERNAL) | 436 if (retval == NACL_SRPC_RESULT_INTERNAL) |
| 439 ppapi_proxy::CleanUpAfterDeadNexe(instance); | 437 ppapi_proxy::CleanUpAfterDeadNexe(instance); |
| 440 return retval; | 438 return retval; |
| 441 } | 439 } |
| 442 | 440 |
| 443 | 441 |
| OLD | NEW |