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

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 8506016: Remove 'Flash' from TCP/UDP Pepper interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 4587dfe56e5eaf97dab645d047bc0ee02f3a2927..c9cf6cffedfe6451848daa3b0f358b114d66d61b 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -73,6 +73,8 @@
#include "ppapi/c/private/ppb_instance_private.h"
#include "ppapi/c/private/ppb_pdf.h"
#include "ppapi/c/private/ppb_proxy_private.h"
+#include "ppapi/c/private/ppb_tcp_socket.h"
+#include "ppapi/c/private/ppb_udp_socket.h"
#include "ppapi/c/private/ppb_uma_private.h"
#include "ppapi/c/trusted/ppb_audio_trusted.h"
#include "ppapi/c/trusted/ppb_broker_trusted.h"
@@ -281,9 +283,13 @@ const void* GetInterface(const char* name) {
if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0)
return ::ppapi::thunk::GetPPB_Flash_Menu_Thunk();
if (strcmp(name, PPB_FLASH_TCPSOCKET_INTERFACE) == 0)
- return ::ppapi::thunk::GetPPB_Flash_TCPSocket_Thunk();
+ return ::ppapi::thunk::GetPPB_TCPSocket_Thunk();
if (strcmp(name, PPB_FLASH_UDPSOCKET_INTERFACE) == 0)
- return ::ppapi::thunk::GetPPB_Flash_UDPSocket_Thunk();
+ return ::ppapi::thunk::GetPPB_UDPSocket_Thunk();
+ if (strcmp(name, PPB_TCPSOCKET_INTERFACE) == 0)
yzshen1 2011/11/09 23:53:55 Sort, please.
Dmitry Polukhin 2011/11/10 15:10:11 Done.
+ return ::ppapi::thunk::GetPPB_TCPSocket_Thunk();
+ if (strcmp(name, PPB_UDPSOCKET_INTERFACE) == 0)
+ return ::ppapi::thunk::GetPPB_UDPSocket_Thunk();
if (strcmp(name, PPB_FULLSCREEN_DEV_INTERFACE_0_4) == 0)
return ::ppapi::thunk::GetPPB_FlashFullscreen_Thunk();
if (strcmp(name, PPB_FULLSCREEN_DEV_INTERFACE) == 0)

Powered by Google App Engine
This is Rietveld 408576698