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

Unified Diff: ppapi/thunk/ppb_flash_udp_socket_thunk.cc

Issue 8511032: Make the Pepper Flash net address just private, not Flash-specific. (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: ppapi/thunk/ppb_flash_udp_socket_thunk.cc
diff --git a/ppapi/thunk/ppb_flash_udp_socket_thunk.cc b/ppapi/thunk/ppb_flash_udp_socket_thunk.cc
index ee2e13c35e8c9ec52de5c3af134cb2a85ad67d27..76180089f4d97e2ddf09e9d02728103045d17171 100644
--- a/ppapi/thunk/ppb_flash_udp_socket_thunk.cc
+++ b/ppapi/thunk/ppb_flash_udp_socket_thunk.cc
@@ -29,7 +29,7 @@ PP_Bool IsFlashUDPSocket(PP_Resource resource) {
}
int32_t Bind(PP_Resource udp_socket,
- const PP_Flash_NetAddress *addr,
+ const PP_NetAddress_Private *addr,
PP_CompletionCallback callback) {
EnterResource<PPB_Flash_UDPSocket_API> enter(udp_socket, true);
if (enter.failed())
@@ -52,7 +52,7 @@ int32_t RecvFrom(PP_Resource udp_socket,
}
PP_Bool GetRecvFromAddress(PP_Resource udp_socket,
- PP_Flash_NetAddress* addr) {
+ PP_NetAddress_Private* addr) {
EnterResource<PPB_Flash_UDPSocket_API> enter(udp_socket, true);
if (enter.failed())
return PP_FALSE;
@@ -62,7 +62,7 @@ PP_Bool GetRecvFromAddress(PP_Resource udp_socket,
int32_t SendTo(PP_Resource udp_socket,
const char* buffer,
int32_t num_bytes,
- const PP_Flash_NetAddress* addr,
+ const PP_NetAddress_Private* addr,
PP_CompletionCallback callback) {
EnterResource<PPB_Flash_UDPSocket_API> enter(udp_socket, true);
if (enter.failed())

Powered by Google App Engine
This is Rietveld 408576698