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

Side by Side Diff: net/udp/udp_client_socket.cc

Issue 861963002: UDP: Windows implementation using non-blocking IO (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added perf test Created 5 years, 11 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698