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

Unified Diff: src/shared/ppapi_proxy/ppb_core.srpc

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 side-by-side diff with in-line comments
Download patch
Index: src/shared/ppapi_proxy/ppb_core.srpc
diff --git a/src/shared/ppapi_proxy/ppb_core.srpc b/src/shared/ppapi_proxy/ppb_core.srpc
index a8ff9e3ec0722f4528172e587973b6c98be34c64..f994a4fe5f6881a9c31872900efb2f451b859be4 100755
--- a/src/shared/ppapi_proxy/ppb_core.srpc
+++ b/src/shared/ppapi_proxy/ppb_core.srpc
@@ -19,6 +19,15 @@
],
'outputs': []
},
+ # Implements calls to decrement more than one reference count on a
+ # resource. This does not exist in PPB_Core, we implement it as an
sehr (please use chromium) 2010/12/10 01:09:18 Why would we ever need more than one reference to
neb 2010/12/10 20:43:31 When the PPAPI layer returns Resources from functi
+ # optimization.
+ {'name': 'ReleaseResourceMultipleTimes',
+ 'inputs': [['resource', 'int64_t'],
+ ['count', 'int32_t']
+ ],
+ 'outputs': []
+ },
# MemAlloc and MemFree do not require RPCs to the browser.
# Implements calls to get the time.
{'name': 'PPB_Core_GetTime',

Powered by Google App Engine
This is Rietveld 408576698