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/log/net_log.h" | 8 #include "net/log/net_log.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 106 } |
107 | 107 |
108 int UDPClientSocket::SetSendBufferSize(int32_t size) { | 108 int UDPClientSocket::SetSendBufferSize(int32_t size) { |
109 return socket_.SetSendBufferSize(size); | 109 return socket_.SetSendBufferSize(size); |
110 } | 110 } |
111 | 111 |
112 int UDPClientSocket::SetDoNotFragment() { | 112 int UDPClientSocket::SetDoNotFragment() { |
113 return socket_.SetDoNotFragment(); | 113 return socket_.SetDoNotFragment(); |
114 } | 114 } |
115 | 115 |
116 const BoundNetLog& UDPClientSocket::NetLog() const { | 116 const NetLogWithSource& UDPClientSocket::NetLog() const { |
117 return socket_.NetLog(); | 117 return socket_.NetLog(); |
118 } | 118 } |
119 | 119 |
120 void UDPClientSocket::UseNonBlockingIO() { | 120 void UDPClientSocket::UseNonBlockingIO() { |
121 #if defined(OS_WIN) | 121 #if defined(OS_WIN) |
122 socket_.UseNonBlockingIO(); | 122 socket_.UseNonBlockingIO(); |
123 #endif | 123 #endif |
124 } | 124 } |
125 | 125 |
126 } // namespace net | 126 } // namespace net |
OLD | NEW |