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

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: 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 }; // class ObjectStubRpcClient 85 }; // class ObjectStubRpcClient
86 86
87 class PpbCoreRpcClient { 87 class PpbCoreRpcClient {
88 public: 88 public:
89 static NaClSrpcError PPB_Core_AddRefResource( 89 static NaClSrpcError PPB_Core_AddRefResource(
90 NaClSrpcChannel* channel, 90 NaClSrpcChannel* channel,
91 int64_t resource); 91 int64_t resource);
92 static NaClSrpcError PPB_Core_ReleaseResource( 92 static NaClSrpcError PPB_Core_ReleaseResource(
93 NaClSrpcChannel* channel, 93 NaClSrpcChannel* channel,
94 int64_t resource); 94 int64_t resource);
95 static NaClSrpcError ReleaseResourceMultipleTimes(
96 NaClSrpcChannel* channel,
97 int64_t resource,
98 int32_t count);
95 static NaClSrpcError PPB_Core_GetTime( 99 static NaClSrpcError PPB_Core_GetTime(
96 NaClSrpcChannel* channel, 100 NaClSrpcChannel* channel,
97 double* time); 101 double* time);
98 102
99 private: 103 private:
100 PpbCoreRpcClient(); 104 PpbCoreRpcClient();
101 PpbCoreRpcClient(const PpbCoreRpcClient&); 105 PpbCoreRpcClient(const PpbCoreRpcClient&);
102 void operator=(const PpbCoreRpcClient); 106 void operator=(const PpbCoreRpcClient);
103 }; // class PpbCoreRpcClient 107 }; // class PpbCoreRpcClient
104 108
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 private: 175 private:
172 PpbImageDataRpcClient(); 176 PpbImageDataRpcClient();
173 PpbImageDataRpcClient(const PpbImageDataRpcClient&); 177 PpbImageDataRpcClient(const PpbImageDataRpcClient&);
174 void operator=(const PpbImageDataRpcClient); 178 void operator=(const PpbImageDataRpcClient);
175 }; // class PpbImageDataRpcClient 179 }; // class PpbImageDataRpcClient
176 180
177 181
178 182
179 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ 183 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_
180 184
OLDNEW
« src/shared/ppapi_proxy/ppb_core.srpc ('K') | « 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