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

Unified Diff: net/socket/datagram_socket.h

Issue 2253753002: Always use NonBlocking IO for UDP sockets on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 3 years, 8 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/quic/chromium/quic_stream_factory.cc ('k') | net/socket/fuzzed_datagram_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/datagram_socket.h
diff --git a/net/socket/datagram_socket.h b/net/socket/datagram_socket.h
index f5294745cc32c12918422c619d5eadbb7cf97056..0e973537b1d52dba62ac883dcc50d91882685f78 100644
--- a/net/socket/datagram_socket.h
+++ b/net/socket/datagram_socket.h
@@ -34,10 +34,6 @@ class NET_EXPORT_PRIVATE DatagramSocket {
// (similar to getsockname)
virtual int GetLocalAddress(IPEndPoint* address) const = 0;
- // Switch to use non-blocking IO. Must be called right after construction and
- // before other calls.
- virtual void UseNonBlockingIO() = 0;
-
// Requests that packets sent by this socket not be fragment, either locally
// by the host, or by routers (via the DF bit in the IPv4 packet header).
// May not be supported by all platforms. Returns a return a network error
« no previous file with comments | « net/quic/chromium/quic_stream_factory.cc ('k') | net/socket/fuzzed_datagram_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698