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

Unified Diff: ppapi/api/private/ppb_udp_socket_private.idl

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: a few small changes after self review Created 8 years, 11 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.cc ('k') | ppapi/c/private/ppb_udp_socket_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_udp_socket_private.idl
diff --git a/ppapi/api/private/ppb_udp_socket_private.idl b/ppapi/api/private/ppb_udp_socket_private.idl
index 4babbb4a4dbd915a962d354947fd3f986b5d4823..24f4f2722efe695e412e77a2da10af98021d77b6 100644
--- a/ppapi/api/private/ppb_udp_socket_private.idl
+++ b/ppapi/api/private/ppb_udp_socket_private.idl
@@ -22,7 +22,10 @@ interface PPB_UDPSocket_Private {
*/
PP_Bool IsUDPSocket([in] PP_Resource resource_id);
- /* Creates a socket and binds to the address given by |addr|. */
+ /* Creates a socket and binds to the address given by |addr|.
+ * Returns the port number that the socket is bound to on
+ * success, 0 on failure
+ */
int32_t Bind([in] PP_Resource udp_socket,
[in] PP_NetAddress_Private addr,
yzshen1 2012/01/27 18:41:07 - Isn't the port information included in |addr| it
[in] PP_CompletionCallback callback);
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | ppapi/c/private/ppb_udp_socket_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698