summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/test_globals.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 05:13:17 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 05:13:17 +0000
commit4f2006122fa1a0bb91c3d0451ca123061cfee271 (patch)
tree4939d74c4032d7e188fc41692a9404c647a9ea1a /ppapi/shared_impl/test_globals.h
parentf3f8f3488944ae47bf705a8986b6b73431a19b7d (diff)
downloadchromium_src-4f2006122fa1a0bb91c3d0451ca123061cfee271.zip
chromium_src-4f2006122fa1a0bb91c3d0451ca123061cfee271.tar.gz
chromium_src-4f2006122fa1a0bb91c3d0451ca123061cfee271.tar.bz2
Delete FunctionGroupBase from Pepper.
The FunctionGroupBase stuff was intended to used for our manual RTTI for interfaces not associated with resources. However, we've been putting most of those interfaces on the PPB_Instance_API which allows us to skip a whole lot of routing, setup, and boilerplate code. This patch moves the two remaining classes deriving from FunctionGroupBase and moves them to special getters on the globals class. We'll keep these classes around and since there are only two, it seems to warrant the special case. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10168026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/test_globals.h')
-rw-r--r--ppapi/shared_impl/test_globals.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ppapi/shared_impl/test_globals.h b/ppapi/shared_impl/test_globals.h
index cf1be89..2fa2192 100644
--- a/ppapi/shared_impl/test_globals.h
+++ b/ppapi/shared_impl/test_globals.h
@@ -35,8 +35,10 @@ class TestGlobals : public PpapiGlobals {
virtual VarTracker* GetVarTracker() OVERRIDE;
virtual CallbackTracker* GetCallbackTrackerForInstance(
PP_Instance instance) OVERRIDE;
- virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
- ApiID id) OVERRIDE;
+ virtual thunk::PPB_Instance_API* GetInstanceAPI(
+ PP_Instance instance) OVERRIDE;
+ virtual thunk::ResourceCreationAPI* GetResourceCreationAPI(
+ PP_Instance instance) OVERRIDE;
virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
virtual std::string GetCmdLine() OVERRIDE;
virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE;