Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: src/shared/ppapi_proxy/ppb_rpc_server.cc

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698