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

Side by Side Diff: ppapi/proxy/host_dispatcher.h

Issue 704913002: PPAPI: Make GetProxiedInterface not re-enter the plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make SimulateInputEvent test message asynchronous. Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | ppapi/proxy/host_dispatcher.cc » ('j') | ppapi/proxy/ppb_video_decoder_proxy.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_HOST_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_HOST_DISPATCHER_H_
6 #define PPAPI_PROXY_HOST_DISPATCHER_H_ 6 #define PPAPI_PROXY_HOST_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 protected: 116 protected:
117 // Overridden from Dispatcher. 117 // Overridden from Dispatcher.
118 virtual void OnInvalidMessageReceived(); 118 virtual void OnInvalidMessageReceived();
119 119
120 private: 120 private:
121 void OnHostMsgLogWithSource(PP_Instance instance, 121 void OnHostMsgLogWithSource(PP_Instance instance,
122 int int_log_level, 122 int int_log_level,
123 const std::string& source, 123 const std::string& source,
124 const std::string& value); 124 const std::string& value);
125 void OnHostMsgPluginSupportsInterface(const std::string& interface_name);
125 126
126 void RemoveSyncMessageStatusObserver(SyncMessageStatusObserver* obs); 127 void RemoveSyncMessageStatusObserver(SyncMessageStatusObserver* obs);
127 128
128 PP_Module pp_module_; 129 PP_Module pp_module_;
129 130
130 // Maps interface name to whether that interface is supported. If an interface 131 // Maps interface name to whether that interface is supported. If an interface
131 // name is not in the map, that implies that we haven't queried for it yet. 132 // name is not in the map, that implies that we haven't queried for it yet.
132 typedef base::hash_map<std::string, bool> PluginSupportedMap; 133 typedef base::hash_map<std::string, bool> PluginSupportedMap;
133 PluginSupportedMap plugin_supported_; 134 PluginSupportedMap plugin_supported_;
134 135
(...skipping 29 matching lines...) Expand all
164 private: 165 private:
165 HostDispatcher* dispatcher_; 166 HostDispatcher* dispatcher_;
166 167
167 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference); 168 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference);
168 }; 169 };
169 170
170 } // namespace proxy 171 } // namespace proxy
171 } // namespace ppapi 172 } // namespace ppapi
172 173
173 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_ 174 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/proxy/host_dispatcher.cc » ('j') | ppapi/proxy/ppb_video_decoder_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698