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

Unified Diff: ppapi/shared_impl/tracker_base.h

Issue 7105013: Convert more interfaces to the new thunk system. This goes up to and including (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months 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 | « ppapi/shared_impl/resource_object_base.cc ('k') | ppapi/thunk/enter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/tracker_base.h
===================================================================
--- ppapi/shared_impl/tracker_base.h (revision 87441)
+++ ppapi/shared_impl/tracker_base.h (working copy)
@@ -40,6 +40,10 @@
// there isn't one.
virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
pp::proxy::InterfaceID id) = 0;
+
+ // Returns the instance corresponding to the given resource, or 0 if the
+ // resource is invalid.
+ virtual PP_Instance GetInstanceForResource(PP_Resource resource) = 0;
};
} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/resource_object_base.cc ('k') | ppapi/thunk/enter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698