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

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

Issue 861963002: UDP: Windows implementation using non-blocking IO (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_server_socket.h" 5 #include "net/udp/udp_server_socket.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 #include "net/base/rand_callback.h" 8 #include "net/base/rand_callback.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 114
115 int UDPServerSocket::SetDiffServCodePoint(DiffServCodePoint dscp) { 115 int UDPServerSocket::SetDiffServCodePoint(DiffServCodePoint dscp) {
116 return socket_.SetDiffServCodePoint(dscp); 116 return socket_.SetDiffServCodePoint(dscp);
117 } 117 }
118 118
119 void UDPServerSocket::DetachFromThread() { 119 void UDPServerSocket::DetachFromThread() {
120 socket_.DetachFromThread(); 120 socket_.DetachFromThread();
121 } 121 }
122 122
123 #if defined(OS_WIN)
124 void UDPServerSocket::UseNonBlockingIO() {
125 socket_.UseNonBlockingIO();
126 }
127 #endif
128
123 } // namespace net 129 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698