| Index: ppapi/proxy/plugin_dispatcher.h
|
| diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
|
| index 88d3763a36948b8c9332046c2b4aa1165d3714fc..129a37caedd0a584999d43f6e7747c333343a4a1 100644
|
| --- a/ppapi/proxy/plugin_dispatcher.h
|
| +++ b/ppapi/proxy/plugin_dispatcher.h
|
| @@ -18,7 +18,6 @@
|
| #include "ppapi/c/pp_rect.h"
|
| #include "ppapi/c/pp_instance.h"
|
| #include "ppapi/proxy/dispatcher.h"
|
| -#include "ppapi/shared_impl/function_group_base.h"
|
| #include "ppapi/shared_impl/ppapi_preferences.h"
|
| #include "ppapi/shared_impl/ppb_view_shared.h"
|
|
|
| @@ -27,6 +26,11 @@ namespace ppapi {
|
| struct Preferences;
|
| class Resource;
|
|
|
| +namespace thunk {
|
| +class PPB_Instance_API;
|
| +class ResourceCreationAPI;
|
| +}
|
| +
|
| namespace proxy {
|
|
|
| // Used to keep track of per-instance data.
|
| @@ -118,15 +122,14 @@ class PPAPI_PROXY_EXPORT PluginDispatcher
|
| // correspond to a known instance.
|
| InstanceData* GetInstanceData(PP_Instance instance);
|
|
|
| + // Returns the corresponding API. These are APIs not associated with a
|
| + // resource. Guaranteed non-NULL.
|
| + thunk::PPB_Instance_API* GetInstanceAPI();
|
| + thunk::ResourceCreationAPI* GetResourceCreationAPI();
|
| +
|
| // Returns the Preferences.
|
| const Preferences& preferences() const { return preferences_; }
|
|
|
| - // Returns the "new-style" function API for the given interface ID, creating
|
| - // it if necessary.
|
| - // TODO(brettw) this is in progress. It should be merged with the target
|
| - // proxies so there is one list to consult.
|
| - FunctionGroupBase* GetFunctionAPI(ApiID id);
|
| -
|
| uint32 plugin_dispatcher_id() const { return plugin_dispatcher_id_; }
|
|
|
| private:
|
|
|