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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix build error after rebase Created 8 years, 10 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 | « content/renderer/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_udp_socket_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index ef046f3491c1e1602b73c6d6c9d7770683de2814..9c43517d2b4de8b3b3d2514d369ff7b6adde84b0 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -2137,13 +2137,15 @@ void PepperPluginDelegateImpl::OnTCPSocketWriteACK(uint32 plugin_dispatcher_id,
socket->OnWriteCompleted(succeeded, bytes_written);
}
-void PepperPluginDelegateImpl::OnUDPSocketBindACK(uint32 plugin_dispatcher_id,
- uint32 socket_id,
- bool succeeded) {
+void PepperPluginDelegateImpl::OnUDPSocketBindACK(
+ uint32 plugin_dispatcher_id,
+ uint32 socket_id,
+ bool succeeded,
+ const PP_NetAddress_Private& addr) {
webkit::ppapi::PPB_UDPSocket_Private_Impl* socket =
udp_sockets_.Lookup(socket_id);
if (socket)
- socket->OnBindCompleted(succeeded);
+ socket->OnBindCompleted(succeeded, addr);
}
void PepperPluginDelegateImpl::OnUDPSocketRecvFromACK(
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_udp_socket_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698