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

Unified Diff: ppapi/proxy/plugin_dispatcher.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
« no previous file with comments | « ppapi/proxy/interface_proxy.h ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « ppapi/proxy/interface_proxy.h ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698