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

Unified Diff: net/udp/udp_client_socket.h

Issue 2250473007: Move UseNonBlockingIO from a windows-only method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: socket_host_udp_unittest.cc Created 4 years, 4 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/fuzzed_datagram_client_socket.cc ('k') | net/udp/udp_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_client_socket.h
diff --git a/net/udp/udp_client_socket.h b/net/udp/udp_client_socket.h
index ca563bbc0f1f45e3e04c8be0d33257e8f6748b08..c460d28c01e99f03e2c61a91c140ea9439d0fbac 100644
--- a/net/udp/udp_client_socket.h
+++ b/net/udp/udp_client_socket.h
@@ -41,16 +41,13 @@ class NET_EXPORT_PRIVATE UDPClientSocket : public DatagramClientSocket {
void Close() override;
int GetPeerAddress(IPEndPoint* address) const override;
int GetLocalAddress(IPEndPoint* address) const override;
+ void UseNonBlockingIO() override;
int SetReceiveBufferSize(int32_t size) override;
int SetSendBufferSize(int32_t size) override;
const BoundNetLog& NetLog() const override;
-#if defined(OS_WIN)
// Switch to use non-blocking IO. Must be called right after construction and
// before other calls.
- void UseNonBlockingIO();
-#endif
-
private:
UDPSocket socket_;
NetworkChangeNotifier::NetworkHandle network_;
« no previous file with comments | « net/udp/fuzzed_datagram_client_socket.cc ('k') | net/udp/udp_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698