Pepper: More interface_list cleanup.
This change removes a deprecated AddPPP() interface, and a new unnecessary
InterfaceProxy::Info struct.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/113263003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241352 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/proxy/ppp_messaging_proxy.cc b/ppapi/proxy/ppp_messaging_proxy.cc
index 5a12419f..2a859bc 100644
--- a/ppapi/proxy/ppp_messaging_proxy.cc
+++ b/ppapi/proxy/ppp_messaging_proxy.cc
@@ -45,10 +45,6 @@
static const PPP_Messaging messaging_interface = {};
#endif // !defined(OS_NACL)
-InterfaceProxy* CreateMessagingProxy(Dispatcher* dispatcher) {
- return new PPP_Messaging_Proxy(dispatcher);
-}
-
} // namespace
PPP_Messaging_Proxy::PPP_Messaging_Proxy(Dispatcher* dispatcher)
@@ -64,15 +60,8 @@
}
// static
-const InterfaceProxy::Info* PPP_Messaging_Proxy::GetInfo() {
- static const Info info = {
- &messaging_interface,
- PPP_MESSAGING_INTERFACE,
- API_ID_PPP_MESSAGING,
- false,
- &CreateMessagingProxy,
- };
- return &info;
+const PPP_Messaging* PPP_Messaging_Proxy::GetProxyInterface() {
+ return &messaging_interface;
}
bool PPP_Messaging_Proxy::OnMessageReceived(const IPC::Message& msg) {