Remove TrackerBase.
Fold the methods it provided into the PpapiGlobals base class. Move the
instance and module tracking in the webkit/plugins/ppapi dir out of the
HostResourceTracker (since it has nothing to do with resources) and into the
HostGlobals object (which provides general global object tracking).
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/8335001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106612 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/proxy/plugin_resource_tracker.h b/ppapi/proxy/plugin_resource_tracker.h
index cf87787..b87c6f8 100644
--- a/ppapi/proxy/plugin_resource_tracker.h
+++ b/ppapi/proxy/plugin_resource_tracker.h
@@ -18,7 +18,6 @@
#include "ppapi/proxy/ppapi_proxy_export.h"
#include "ppapi/shared_impl/host_resource.h"
#include "ppapi/shared_impl/resource_tracker.h"
-#include "ppapi/shared_impl/tracker_base.h"
template<typename T> struct DefaultSingletonTraits;
@@ -30,24 +29,16 @@
class PluginDispatcher;
-class PPAPI_PROXY_EXPORT PluginResourceTracker : public TrackerBase,
- public ResourceTracker {
+class PPAPI_PROXY_EXPORT PluginResourceTracker : public ResourceTracker {
public:
PluginResourceTracker();
virtual ~PluginResourceTracker();
- static TrackerBase* GetTrackerBaseInstance();
-
// Given a host resource, maps it to an existing plugin resource ID if it
// exists, or returns 0 on failure.
PP_Resource PluginResourceForHostResource(
const HostResource& resource) const;
- // TrackerBase.
- virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
- InterfaceID id) OVERRIDE;
- virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
-
protected:
// ResourceTracker overrides.
virtual PP_Resource AddResource(Resource* object) OVERRIDE;