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

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

Issue 5581011: Resource tracking done right. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First. Created 10 years 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
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 class PpbCoreRpcServer { 96 class PpbCoreRpcServer {
97 public: 97 public:
98 static void PPB_Core_AddRefResource( 98 static void PPB_Core_AddRefResource(
99 NaClSrpcRpc* rpc, 99 NaClSrpcRpc* rpc,
100 NaClSrpcClosure* done, 100 NaClSrpcClosure* done,
101 int64_t resource); 101 int64_t resource);
102 static void PPB_Core_ReleaseResource( 102 static void PPB_Core_ReleaseResource(
103 NaClSrpcRpc* rpc, 103 NaClSrpcRpc* rpc,
104 NaClSrpcClosure* done, 104 NaClSrpcClosure* done,
105 int64_t resource); 105 int64_t resource);
106 static void ReleaseResourceMultipleTimes(
107 NaClSrpcRpc* rpc,
108 NaClSrpcClosure* done,
109 int64_t resource,
110 int32_t count);
106 static void PPB_Core_GetTime( 111 static void PPB_Core_GetTime(
107 NaClSrpcRpc* rpc, 112 NaClSrpcRpc* rpc,
108 NaClSrpcClosure* done, 113 NaClSrpcClosure* done,
109 double* time); 114 double* time);
110 115
111 private: 116 private:
112 PpbCoreRpcServer(); 117 PpbCoreRpcServer();
113 PpbCoreRpcServer(const PpbCoreRpcServer&); 118 PpbCoreRpcServer(const PpbCoreRpcServer&);
114 void operator=(const PpbCoreRpcServer); 119 void operator=(const PpbCoreRpcServer);
115 }; // class PpbCoreRpcServer 120 }; // class PpbCoreRpcServer
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 void operator=(const PpbImageDataRpcServer); 202 void operator=(const PpbImageDataRpcServer);
198 }; // class PpbImageDataRpcServer 203 }; // class PpbImageDataRpcServer
199 204
200 class PpbRpcs { 205 class PpbRpcs {
201 public: 206 public:
202 static NACL_SRPC_METHOD_ARRAY(srpc_methods); 207 static NACL_SRPC_METHOD_ARRAY(srpc_methods);
203 }; // class PpbRpcs 208 }; // class PpbRpcs
204 209
205 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ 210 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_
206 211
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698