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

Unified Diff: ppapi/cpp/udp_socket.h

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: Fix rebase weirdness. Created 5 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 | « ppapi/c/ppb_udp_socket.h ('k') | ppapi/proxy/udp_socket_resource_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/udp_socket.h
diff --git a/ppapi/cpp/udp_socket.h b/ppapi/cpp/udp_socket.h
index fa599d71d842e5238173d5898bc5667a01d21e2b..707c62102a17318c45c44b2672f8697b33701c9f 100644
--- a/ppapi/cpp/udp_socket.h
+++ b/ppapi/cpp/udp_socket.h
@@ -125,6 +125,9 @@ class UDPSocket : public Resource {
/// 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(const char* buffer,
int32_t num_bytes,
const NetAddress& addr,
« no previous file with comments | « ppapi/c/ppb_udp_socket.h ('k') | ppapi/proxy/udp_socket_resource_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698