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

Unified Diff: ppapi/proxy/interface_list.cc

Issue 7874002: This patch tries to remove most of the manual registration for Pepper interfaces, and replaces it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/interface_list.h ('k') | ppapi/proxy/interface_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/interface_list.cc
===================================================================
--- ppapi/proxy/interface_list.cc (revision 100758)
+++ ppapi/proxy/interface_list.cc (working copy)
@@ -241,7 +241,7 @@
name_to_browser_info_.find(name);
if (found == name_to_browser_info_.end())
return NULL;
- return found->second.interface;
+ return found->second.iface;
}
const void* InterfaceList::GetInterfaceForPPP(const std::string& name) const {
@@ -249,7 +249,7 @@
name_to_plugin_info_.find(name);
if (found == name_to_plugin_info_.end())
return NULL;
- return found->second.interface;
+ return found->second.iface;
}
void InterfaceList::AddProxy(InterfaceID id,
@@ -270,16 +270,16 @@
void InterfaceList::AddPPB(const char* name,
InterfaceID id,
- const void* interface) {
+ const void* iface) {
DCHECK(name_to_browser_info_.find(name) == name_to_browser_info_.end());
- name_to_browser_info_[name] = InterfaceInfo(id, interface);
+ name_to_browser_info_[name] = InterfaceInfo(id, iface);
}
void InterfaceList::AddPPP(const char* name,
InterfaceID id,
- const void* interface) {
+ const void* iface) {
DCHECK(name_to_plugin_info_.find(name) == name_to_plugin_info_.end());
- name_to_plugin_info_[name] = InterfaceInfo(id, interface);
+ name_to_plugin_info_[name] = InterfaceInfo(id, iface);
}
void InterfaceList::AddPPB(const InterfaceProxy::Info* info) {
« no previous file with comments | « ppapi/proxy/interface_list.h ('k') | ppapi/proxy/interface_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698