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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/ppapi_proxy/plugin_resource_tracker.cc ('k') | src/shared/ppapi_proxy/ppb_rpc_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+ # 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',
« no previous file with comments | « src/shared/ppapi_proxy/plugin_resource_tracker.cc ('k') | src/shared/ppapi_proxy/ppb_rpc_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698