OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/socket/udp_client_socket.h" | 5 #include "net/socket/udp_client_socket.h" |
6 | 6 |
7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 | 110 |
111 int UDPClientSocket::SetDoNotFragment() { | 111 int UDPClientSocket::SetDoNotFragment() { |
112 return socket_.SetDoNotFragment(); | 112 return socket_.SetDoNotFragment(); |
113 } | 113 } |
114 | 114 |
115 const NetLogWithSource& UDPClientSocket::NetLog() const { | 115 const NetLogWithSource& UDPClientSocket::NetLog() const { |
116 return socket_.NetLog(); | 116 return socket_.NetLog(); |
117 } | 117 } |
118 | 118 |
119 void UDPClientSocket::UseNonBlockingIO() { | |
120 #if defined(OS_WIN) | |
121 socket_.UseNonBlockingIO(); | |
122 #endif | |
123 } | |
124 | |
125 } // namespace net | 119 } // namespace net |
OLD | NEW |