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

Unified Diff: ppapi/shared_impl/ppapi_globals.h

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: ppapi/shared_impl/ppapi_globals.h
diff --git a/ppapi/shared_impl/ppapi_globals.h b/ppapi/shared_impl/ppapi_globals.h
index cef077a53292fd558c4281bfd2ceafe70408d401..19039296d9093577a3eb737f8645cf1b804d3ab4 100644
--- a/ppapi/shared_impl/ppapi_globals.h
+++ b/ppapi/shared_impl/ppapi_globals.h
@@ -22,10 +22,14 @@ class Lock;
namespace ppapi {
class CallbackTracker;
-class FunctionGroupBase;
class ResourceTracker;
class VarTracker;
+namespace thunk {
+class PPB_Instance_API;
+class ResourceCreationAPI;
+}
+
// Abstract base class
class PPAPI_SHARED_EXPORT PpapiGlobals {
public:
@@ -87,9 +91,11 @@ class PPAPI_SHARED_EXPORT PpapiGlobals {
const std::string& source,
const std::string& value) = 0;
- // Returns the function object corresponding to the given ID, or NULL if
- // there isn't one.
- virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst, ApiID id) = 0;
+ // Returns the given API object associated with the given instance, or NULL
+ // if the instance is invalid.
+ virtual thunk::PPB_Instance_API* GetInstanceAPI(PP_Instance instance) = 0;
+ virtual thunk::ResourceCreationAPI* GetResourceCreationAPI(
+ PP_Instance instance) = 0;
// Returns the PP_Module associated with the given PP_Instance, or 0 on
// failure.

Powered by Google App Engine
This is Rietveld 408576698