| 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/udp/udp_client_socket.h" | 5 #include "net/udp/udp_client_socket.h" |
| 6 | 6 |
| 7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
| 8 #include "net/base/net_log.h" | 8 #include "net/base/net_log.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 } | 55 } |
| 56 | 56 |
| 57 int UDPClientSocket::SetSendBufferSize(int32 size) { | 57 int UDPClientSocket::SetSendBufferSize(int32 size) { |
| 58 return socket_.SetSendBufferSize(size); | 58 return socket_.SetSendBufferSize(size); |
| 59 } | 59 } |
| 60 | 60 |
| 61 const BoundNetLog& UDPClientSocket::NetLog() const { | 61 const BoundNetLog& UDPClientSocket::NetLog() const { |
| 62 return socket_.NetLog(); | 62 return socket_.NetLog(); |
| 63 } | 63 } |
| 64 | 64 |
| 65 #if defined(OS_WIN) |
| 66 void UDPClientSocket::UseNonBlockingIO() { |
| 67 socket_.UseNonBlockingIO(); |
| 68 } |
| 69 #endif |
| 70 |
| 65 } // namespace net | 71 } // namespace net |
| OLD | NEW |