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

Unified Diff: ppapi/proxy/host_dispatcher.h

Issue 7189045: Make o.o.p. proxy handle PPP_Instance versions 0.4 and 0.5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 6 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/dispatcher.cc ('k') | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/host_dispatcher.h
diff --git a/ppapi/proxy/host_dispatcher.h b/ppapi/proxy/host_dispatcher.h
index 55ba56bc76b6593acc3611a4ee94623dede5c0f1..e3d9001daf351f58168f744b7f83c9f3b42f0e86 100644
--- a/ppapi/proxy/host_dispatcher.h
+++ b/ppapi/proxy/host_dispatcher.h
@@ -110,12 +110,10 @@ class HostDispatcher : public Dispatcher {
PP_Module pp_module_;
- enum PluginInterfaceSupport {
- INTERFACE_UNQUERIED = 0, // Must be 0 so memset(0) will clear the list.
- INTERFACE_SUPPORTED,
- INTERFACE_UNSUPPORTED
- };
- PluginInterfaceSupport plugin_interface_support_[INTERFACE_ID_COUNT];
+ typedef std::map<std::string, bool> PluginIFSupportedMap;
+ // Maps interface name to whether that interface is supported. If an interface
+ // name is not in the map, that implies that we haven't queried for it yet.
+ std::map<std::string, bool> plugin_if_supported_;
// All target proxies currently created. These are ones that receive
// messages. They are created on demand when we receive messages.
« no previous file with comments | « ppapi/proxy/dispatcher.cc ('k') | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698