OLD | NEW |
1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2010 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 "PPB_URLRequestInfo_Create:l:l", | 689 "PPB_URLRequestInfo_Create:l:l", |
690 module, | 690 module, |
691 resource | 691 resource |
692 ); | 692 ); |
693 return retval; | 693 return retval; |
694 } | 694 } |
695 | 695 |
696 NaClSrpcError PpbURLRequestInfoRpcClient::PPB_URLRequestInfo_IsURLRequestInfo( | 696 NaClSrpcError PpbURLRequestInfoRpcClient::PPB_URLRequestInfo_IsURLRequestInfo( |
697 NaClSrpcChannel* channel, | 697 NaClSrpcChannel* channel, |
698 PP_Resource resource, | 698 PP_Resource resource, |
699 int32_t* is_url_request_info) { | 699 int32_t* success) { |
700 NaClSrpcError retval; | 700 NaClSrpcError retval; |
701 retval = NaClSrpcInvokeBySignature( | 701 retval = NaClSrpcInvokeBySignature( |
702 channel, | 702 channel, |
703 "PPB_URLRequestInfo_IsURLRequestInfo:l:i", | 703 "PPB_URLRequestInfo_IsURLRequestInfo:l:i", |
704 resource, | 704 resource, |
705 is_url_request_info | 705 success |
706 ); | 706 ); |
707 return retval; | 707 return retval; |
708 } | 708 } |
709 | 709 |
710 NaClSrpcError PpbURLRequestInfoRpcClient::PPB_URLRequestInfo_SetProperty( | 710 NaClSrpcError PpbURLRequestInfoRpcClient::PPB_URLRequestInfo_SetProperty( |
711 NaClSrpcChannel* channel, | 711 NaClSrpcChannel* channel, |
712 PP_Resource request, | 712 PP_Resource request, |
713 int32_t property, | 713 int32_t property, |
714 nacl_abi_size_t value_bytes, char* value, | 714 nacl_abi_size_t value_bytes, char* value, |
715 int32_t* success) { | 715 int32_t* success) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 number_of_bytes, | 759 number_of_bytes, |
760 expected_last_modified_time, | 760 expected_last_modified_time, |
761 success | 761 success |
762 ); | 762 ); |
763 return retval; | 763 return retval; |
764 } | 764 } |
765 | 765 |
766 NaClSrpcError PpbURLResponseInfoRpcClient::PPB_URLResponseInfo_IsURLResponseInfo
( | 766 NaClSrpcError PpbURLResponseInfoRpcClient::PPB_URLResponseInfo_IsURLResponseInfo
( |
767 NaClSrpcChannel* channel, | 767 NaClSrpcChannel* channel, |
768 PP_Resource resource, | 768 PP_Resource resource, |
769 int32_t* is_url_response_info) { | 769 int32_t* success) { |
770 NaClSrpcError retval; | 770 NaClSrpcError retval; |
771 retval = NaClSrpcInvokeBySignature( | 771 retval = NaClSrpcInvokeBySignature( |
772 channel, | 772 channel, |
773 "PPB_URLResponseInfo_IsURLResponseInfo:l:i", | 773 "PPB_URLResponseInfo_IsURLResponseInfo:l:i", |
774 resource, | 774 resource, |
775 is_url_response_info | 775 success |
776 ); | 776 ); |
777 return retval; | 777 return retval; |
778 } | 778 } |
779 | 779 |
780 NaClSrpcError PpbURLResponseInfoRpcClient::PPB_URLResponseInfo_GetProperty( | 780 NaClSrpcError PpbURLResponseInfoRpcClient::PPB_URLResponseInfo_GetProperty( |
781 NaClSrpcChannel* channel, | 781 NaClSrpcChannel* channel, |
782 PP_Resource response, | 782 PP_Resource response, |
783 int32_t property, | 783 int32_t property, |
784 nacl_abi_size_t* value_bytes, char* value) { | 784 nacl_abi_size_t* value_bytes, char* value) { |
785 NaClSrpcError retval; | 785 NaClSrpcError retval; |
(...skipping 15 matching lines...) Expand all Loading... |
801 retval = NaClSrpcInvokeBySignature( | 801 retval = NaClSrpcInvokeBySignature( |
802 channel, | 802 channel, |
803 "PPB_URLResponseInfo_GetBodyAsFileRef:l:l", | 803 "PPB_URLResponseInfo_GetBodyAsFileRef:l:l", |
804 response, | 804 response, |
805 file_ref | 805 file_ref |
806 ); | 806 ); |
807 return retval; | 807 return retval; |
808 } | 808 } |
809 | 809 |
810 | 810 |
OLD | NEW |