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 |
11 #include "trusted/srpcgen/ppb_rpc.h" | 11 #include "trusted/srpcgen/ppb_rpc.h" |
12 #ifdef __native_client__ | 12 #ifdef __native_client__ |
13 #ifndef UNREFERENCED_PARAMETER | 13 #ifndef UNREFERENCED_PARAMETER |
14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0) | 14 #define UNREFERENCED_PARAMETER(P) do { (void) P; } while (0) |
15 #endif // UNREFERENCED_PARAMETER | 15 #endif // UNREFERENCED_PARAMETER |
16 #else | 16 #else |
17 #include "native_client/src/include/portability.h" | 17 #include "native_client/src/include/portability.h" |
18 #endif // __native_client__ | 18 #endif // __native_client__ |
19 #include "native_client/src/shared/srpc/nacl_srpc.h" | 19 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 20 #include "ppapi/c/pp_instance.h" |
| 21 #include "ppapi/c/pp_module.h" |
| 22 #include "ppapi/c/pp_resource.h" |
20 | 23 |
21 namespace { | 24 namespace { |
22 | 25 |
23 static void HasPropertyDispatcher( | 26 static void HasPropertyDispatcher( |
24 NaClSrpcRpc* rpc, | 27 NaClSrpcRpc* rpc, |
25 NaClSrpcArg** inputs, | 28 NaClSrpcArg** inputs, |
26 NaClSrpcArg** outputs, | 29 NaClSrpcArg** outputs, |
27 NaClSrpcClosure* done | 30 NaClSrpcClosure* done |
28 ) { | 31 ) { |
29 UNREFERENCED_PARAMETER(done); | 32 UNREFERENCED_PARAMETER(done); |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 { "PPB_Instance_IsFullFrame:l:i", PPB_Instance_IsFullFrameDispatcher }, | 797 { "PPB_Instance_IsFullFrame:l:i", PPB_Instance_IsFullFrameDispatcher }, |
795 { "PPB_Instance_ExecuteScript:lCC:CC", PPB_Instance_ExecuteScriptDispatcher }, | 798 { "PPB_Instance_ExecuteScript:lCC:CC", PPB_Instance_ExecuteScriptDispatcher }, |
796 { "PPB_URLRequestInfo_Create:l:l", PPB_URLRequestInfo_CreateDispatcher }, | 799 { "PPB_URLRequestInfo_Create:l:l", PPB_URLRequestInfo_CreateDispatcher }, |
797 { "PPB_URLRequestInfo_IsURLRequestInfo:l:i", PPB_URLRequestInfo_IsURLRequestIn
foDispatcher }, | 800 { "PPB_URLRequestInfo_IsURLRequestInfo:l:i", PPB_URLRequestInfo_IsURLRequestIn
foDispatcher }, |
798 { "PPB_URLRequestInfo_SetProperty:liC:i", PPB_URLRequestInfo_SetPropertyDispat
cher }, | 801 { "PPB_URLRequestInfo_SetProperty:liC:i", PPB_URLRequestInfo_SetPropertyDispat
cher }, |
799 { "PPB_URLRequestInfo_AppendDataToBody:lC:i", PPB_URLRequestInfo_AppendDataToB
odyDispatcher }, | 802 { "PPB_URLRequestInfo_AppendDataToBody:lC:i", PPB_URLRequestInfo_AppendDataToB
odyDispatcher }, |
800 { "PPB_URLRequestInfo_AppendFileToBody:lllld:i", PPB_URLRequestInfo_AppendFile
ToBodyDispatcher }, | 803 { "PPB_URLRequestInfo_AppendFileToBody:lllld:i", PPB_URLRequestInfo_AppendFile
ToBodyDispatcher }, |
801 { NULL, NULL } | 804 { NULL, NULL } |
802 }; | 805 }; |
803 | 806 |
OLD | NEW |