diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-22 16:08:46 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-22 16:08:46 +0000 |
commit | 56c802fa1fd078b7f43338a7be9d016ccf582750 (patch) | |
tree | 971c45407c507904ce213c8efa274a87426a7d9c /ppapi/proxy/interface_list.h | |
parent | f574674ae65bfd387a518138ad357afa4a411a2a (diff) | |
download | chromium_src-56c802fa1fd078b7f43338a7be9d016ccf582750.zip chromium_src-56c802fa1fd078b7f43338a7be9d016ccf582750.tar.gz chromium_src-56c802fa1fd078b7f43338a7be9d016ccf582750.tar.bz2 |
Convert the Flash interfaces to no longer use GetInfo.
GetInfo is deprecated. I moved all the Flash setup for the proxy into a
separate function since I suspect we'll be moving this somewhere else in the
future to allow a non-Flash build of the proxy. I didn't change any thunk
stuff (it would be nice to convert more of these APIs) since I started and
this patch got too complicated.
I also changed the way the factory functions worked. I could save a bunch of
macros by using a template. Yay!
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/8359010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/interface_list.h')
-rw-r--r-- | ppapi/proxy/interface_list.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/interface_list.h b/ppapi/proxy/interface_list.h index f29198f..8df8903 100644 --- a/ppapi/proxy/interface_list.h +++ b/ppapi/proxy/interface_list.h @@ -52,6 +52,12 @@ class InterfaceList { typedef std::map<std::string, InterfaceInfo> NameToInterfaceInfoMap; + // Registers the Flash-specific interfaces. + // + // TODO(brettw) these should be moved somewhere separately so we can compile + // the proxy for NaCl without Flash interface support. + void AddFlashInterfaces(); + void AddProxy(ApiID id, InterfaceProxy::Factory factory); void AddPPB(const char* name, ApiID id, const void* iface); |