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

Unified Diff: ppapi/api/ppb_udp_socket.idl

Issue 632113003: Pepper: Allow plugins to call PPB_UDP_Socket::SendTo multiple times. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments, document INPROGRESS error in IDL. Created 6 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
Index: ppapi/api/ppb_udp_socket.idl
diff --git a/ppapi/api/ppb_udp_socket.idl b/ppapi/api/ppb_udp_socket.idl
index e4c87b2a1cd5599a71c2e7727bd5d4d370177310..122f7660e8a1cba0589102a7b036c98af358d4f2 100644
--- a/ppapi/api/ppb_udp_socket.idl
+++ b/ppapi/api/ppb_udp_socket.idl
@@ -153,6 +153,9 @@ interface PPB_UDPSocket {
* been sent; otherwise, an error code from <code>pp_errors.h</code>.
* <code>PP_ERROR_NOACCESS</code> will be returned if the caller doesn't have
* required permissions.
+ * <code>PP_ERROR_INPROGRESS</code> will be returned if the socket is busy
+ * sending. The caller should wait until a pending send completes before
+ * retrying.
*/
int32_t SendTo([in] PP_Resource udp_socket,
[in] str_t buffer,

Powered by Google App Engine
This is Rietveld 408576698