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

Side by Side Diff: src/shared/ppapi_proxy/trusted/srpcgen/upcall.h

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, 11 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 #ifndef GEN_PPAPI_PROXY_UPCALL_H_ 11 #ifndef GEN_PPAPI_PROXY_UPCALL_H_
12 #define GEN_PPAPI_PROXY_UPCALL_H_ 12 #define GEN_PPAPI_PROXY_UPCALL_H_
13 #ifndef __native_client__ 13 #ifndef __native_client__
14 #include "native_client/src/include/portability.h" 14 #include "native_client/src/include/portability.h"
15 #endif // __native_client__ 15 #endif // __native_client__
16 #include "native_client/src/shared/srpc/nacl_srpc.h" 16 #include "native_client/src/shared/srpc/nacl_srpc.h"
17 #include "ppapi/c/pp_instance.h"
18 #include "ppapi/c/pp_module.h"
19 #include "ppapi/c/pp_resource.h"
17 class PppUpcallRpcServer { 20 class PppUpcallRpcServer {
18 public: 21 public:
19 static void PPB_Core_CallOnMainThread( 22 static void PPB_Core_CallOnMainThread(
20 NaClSrpcRpc* rpc, 23 NaClSrpcRpc* rpc,
21 NaClSrpcClosure* done, 24 NaClSrpcClosure* done,
22 int32_t closure_number, 25 int32_t closure_number,
23 int32_t delay_in_milliseconds); 26 int32_t delay_in_milliseconds);
24 static void PPB_Graphics2D_Flush( 27 static void PPB_Graphics2D_Flush(
25 NaClSrpcRpc* rpc, 28 NaClSrpcRpc* rpc,
26 NaClSrpcClosure* done, 29 NaClSrpcClosure* done,
27 int64_t device_context, 30 int64_t device_context,
28 int32_t callback_index, 31 int32_t callback_index,
29 int32_t* result); 32 int32_t* result);
30 33
31 private: 34 private:
32 PppUpcallRpcServer(); 35 PppUpcallRpcServer();
33 PppUpcallRpcServer(const PppUpcallRpcServer&); 36 PppUpcallRpcServer(const PppUpcallRpcServer&);
34 void operator=(const PppUpcallRpcServer); 37 void operator=(const PppUpcallRpcServer);
35 }; // class PppUpcallRpcServer 38 }; // class PppUpcallRpcServer
36 39
37 class PpbUpcalls { 40 class PpbUpcalls {
38 public: 41 public:
39 static NaClSrpcHandlerDesc srpc_methods[]; 42 static NaClSrpcHandlerDesc srpc_methods[];
40 }; // class PpbUpcalls 43 }; // class PpbUpcalls
41 44
42 #endif // GEN_PPAPI_PROXY_UPCALL_H_ 45 #endif // GEN_PPAPI_PROXY_UPCALL_H_
43 46
OLDNEW
« no previous file with comments | « src/shared/ppapi_proxy/trusted/srpcgen/ppp_rpc.h ('k') | src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698