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

Unified Diff: net/udp/udp_server_socket.cc

Issue 861963002: UDP: Windows implementation using non-blocking IO (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use IsWatching() Created 5 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 | « net/udp/udp_server_socket.h ('k') | net/udp/udp_socket_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_server_socket.cc
diff --git a/net/udp/udp_server_socket.cc b/net/udp/udp_server_socket.cc
index 4653f718c68ecef1104b08cab34a4eeef73e798c..9fc92df0659e4a6a3487fb5ab387c9ea05d653e3 100644
--- a/net/udp/udp_server_socket.cc
+++ b/net/udp/udp_server_socket.cc
@@ -120,4 +120,10 @@ void UDPServerSocket::DetachFromThread() {
socket_.DetachFromThread();
}
+#if defined(OS_WIN)
+void UDPServerSocket::UseNonBlockingIO() {
+ socket_.UseNonBlockingIO();
+}
+#endif
+
} // namespace net
« no previous file with comments | « net/udp/udp_server_socket.h ('k') | net/udp/udp_socket_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698