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

Unified Diff: ppapi/proxy/ppb_flash_net_connector_proxy.cc

Issue 8359010: Convert the Flash interfaces to no longer use GetInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment Created 9 years, 2 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/ppb_flash_net_connector_proxy.h ('k') | ppapi/proxy/ppb_flash_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_net_connector_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_net_connector_proxy.cc b/ppapi/proxy/ppb_flash_net_connector_proxy.cc
index dee10278475dcd2dd153accc80a8e0ec9313e3f6..2731cfbf6fdf237d549feca69f6f6ee47ecd0a16 100644
--- a/ppapi/proxy/ppb_flash_net_connector_proxy.cc
+++ b/ppapi/proxy/ppb_flash_net_connector_proxy.cc
@@ -187,14 +187,6 @@ struct PPB_Flash_NetConnector_Proxy::ConnectCallbackInfo {
PP_Flash_NetAddress remote_addr;
};
-namespace {
-
-InterfaceProxy* CreateFlashNetConnectorProxy(Dispatcher* dispatcher) {
- return new PPB_Flash_NetConnector_Proxy(dispatcher);
-}
-
-} // namespace
-
PPB_Flash_NetConnector_Proxy::PPB_Flash_NetConnector_Proxy(
Dispatcher* dispatcher)
: InterfaceProxy(dispatcher),
@@ -205,18 +197,6 @@ PPB_Flash_NetConnector_Proxy::~PPB_Flash_NetConnector_Proxy() {
}
// static
-const InterfaceProxy::Info* PPB_Flash_NetConnector_Proxy::GetInfo() {
- static const Info info = {
- ppapi::thunk::GetPPB_Flash_NetConnector_Thunk(),
- PPB_FLASH_NETCONNECTOR_INTERFACE,
- API_ID_PPB_FLASH_NETCONNECTOR,
- false,
- &CreateFlashNetConnectorProxy
- };
- return &info;
-}
-
-// static
PP_Resource PPB_Flash_NetConnector_Proxy::CreateProxyResource(
PP_Instance instance) {
PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(instance);
« no previous file with comments | « ppapi/proxy/ppb_flash_net_connector_proxy.h ('k') | ppapi/proxy/ppb_flash_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698