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

Unified Diff: ppapi/proxy/host_dispatcher.cc

Issue 7706011: Use precompiled headers for most large projects. (Closed) Base URL: ssh://joi@192.168.1.201/home/joi/c/chrome/src@master
Patch Set: Merge to lkgr. Created 9 years, 3 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/host_dispatcher.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/host_dispatcher.cc
diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc
index 858b17bf455d405be01eb8c90f3ca8f90e213385..c5bf08fd86a728a3d0e5ce3f2e0cce8fc5949bce 100644
--- a/ppapi/proxy/host_dispatcher.cc
+++ b/ppapi/proxy/host_dispatcher.cc
@@ -198,25 +198,27 @@ void HostDispatcher::OnChannelError() {
ppb_proxy_->PluginCrashed(pp_module());
}
-const void* HostDispatcher::GetProxiedInterface(const std::string& interface) {
+const void* HostDispatcher::GetProxiedInterface(
+ const std::string& proxied_interface) {
// First see if we even have a proxy for this interface.
- const InterfaceProxy::Info* info = GetPPPInterfaceInfo(interface);
+ const InterfaceProxy::Info* info = GetPPPInterfaceInfo(proxied_interface);
if (!info)
return NULL;
- PluginIFSupportedMap::iterator iter(plugin_if_supported_.find(interface));
+ PluginIFSupportedMap::iterator iter(plugin_if_supported_.find(
+ proxied_interface));
if (iter == plugin_if_supported_.end()) {
// Need to query. Cache the result so we only do this once.
bool supported = false;
bool previous_reentrancy_value = allow_plugin_reentrancy_;
allow_plugin_reentrancy_ = true;
- Send(new PpapiMsg_SupportsInterface(interface, &supported));
+ Send(new PpapiMsg_SupportsInterface(proxied_interface, &supported));
allow_plugin_reentrancy_ = previous_reentrancy_value;
std::pair<PluginIFSupportedMap::iterator, bool> iter_success_pair;
iter_success_pair = plugin_if_supported_.insert(
- PluginIFSupportedMap::value_type(interface, supported));
+ PluginIFSupportedMap::value_type(proxied_interface, supported));
iter = iter_success_pair.first;
}
if (iter->second)
« no previous file with comments | « ppapi/proxy/host_dispatcher.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698