diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 05:13:17 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 05:13:17 +0000 |
commit | 4f2006122fa1a0bb91c3d0451ca123061cfee271 (patch) | |
tree | 4939d74c4032d7e188fc41692a9404c647a9ea1a /ppapi/shared_impl/test_globals.cc | |
parent | f3f8f3488944ae47bf705a8986b6b73431a19b7d (diff) | |
download | chromium_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.cc')
-rw-r--r-- | ppapi/shared_impl/test_globals.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ppapi/shared_impl/test_globals.cc b/ppapi/shared_impl/test_globals.cc index 9972d22..f8997dc 100644 --- a/ppapi/shared_impl/test_globals.cc +++ b/ppapi/shared_impl/test_globals.cc @@ -32,7 +32,13 @@ CallbackTracker* TestGlobals::GetCallbackTrackerForInstance( return callback_tracker_.get(); } -FunctionGroupBase* TestGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) { +thunk::PPB_Instance_API* TestGlobals::GetInstanceAPI( + PP_Instance instance) { + return NULL; +} + +thunk::ResourceCreationAPI* TestGlobals::GetResourceCreationAPI( + PP_Instance instance) { return NULL; } |