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

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

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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
« no previous file with comments | « net/socket/udp_client_socket.h ('k') | net/socket/udp_net_log_parameters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
11 UDPClientSocket::UDPClientSocket(DatagramSocket::BindType bind_type, 11 UDPClientSocket::UDPClientSocket(DatagramSocket::BindType bind_type,
12 const RandIntCallback& rand_int_cb, 12 const RandIntCallback& rand_int_cb,
13 net::NetLog* net_log, 13 net::NetLog* net_log,
14 const net::NetLogSource& source) 14 const net::NetLogSource& source)
15 : socket_(bind_type, rand_int_cb, net_log, source), 15 : socket_(bind_type, rand_int_cb, net_log, source),
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 return socket_.NetLog(); 116 return socket_.NetLog();
117 } 117 }
118 118
119 void UDPClientSocket::UseNonBlockingIO() { 119 void UDPClientSocket::UseNonBlockingIO() {
120 #if defined(OS_WIN) 120 #if defined(OS_WIN)
121 socket_.UseNonBlockingIO(); 121 socket_.UseNonBlockingIO();
122 #endif 122 #endif
123 } 123 }
124 124
125 } // namespace net 125 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/udp_client_socket.h ('k') | net/socket/udp_net_log_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698