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

Side by Side Diff: src/shared/ppapi_proxy/untrusted/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: Updated for CoreInterface->PPBCoreInterface rename 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
« no previous file with comments | « src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 }; // class PpbAudioConfigDevRpcClient 159 }; // class PpbAudioConfigDevRpcClient
160 160
161 class PpbCoreRpcClient { 161 class PpbCoreRpcClient {
162 public: 162 public:
163 static NaClSrpcError PPB_Core_AddRefResource( 163 static NaClSrpcError PPB_Core_AddRefResource(
164 NaClSrpcChannel* channel, 164 NaClSrpcChannel* channel,
165 int64_t resource); 165 int64_t resource);
166 static NaClSrpcError PPB_Core_ReleaseResource( 166 static NaClSrpcError PPB_Core_ReleaseResource(
167 NaClSrpcChannel* channel, 167 NaClSrpcChannel* channel,
168 int64_t resource); 168 int64_t resource);
169 static NaClSrpcError ReleaseResourceMultipleTimes(
170 NaClSrpcChannel* channel,
171 int64_t resource,
172 int32_t count);
169 static NaClSrpcError PPB_Core_GetTime( 173 static NaClSrpcError PPB_Core_GetTime(
170 NaClSrpcChannel* channel, 174 NaClSrpcChannel* channel,
171 double* time); 175 double* time);
172 176
173 private: 177 private:
174 PpbCoreRpcClient(); 178 PpbCoreRpcClient();
175 PpbCoreRpcClient(const PpbCoreRpcClient&); 179 PpbCoreRpcClient(const PpbCoreRpcClient&);
176 void operator=(const PpbCoreRpcClient); 180 void operator=(const PpbCoreRpcClient);
177 }; // class PpbCoreRpcClient 181 }; // class PpbCoreRpcClient
178 182
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 private: 282 private:
279 PpbInstanceRpcClient(); 283 PpbInstanceRpcClient();
280 PpbInstanceRpcClient(const PpbInstanceRpcClient&); 284 PpbInstanceRpcClient(const PpbInstanceRpcClient&);
281 void operator=(const PpbInstanceRpcClient); 285 void operator=(const PpbInstanceRpcClient);
282 }; // class PpbInstanceRpcClient 286 }; // class PpbInstanceRpcClient
283 287
284 288
285 289
286 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ 290 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_
287 291
OLDNEW
« no previous file with comments | « src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698