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

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

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « net/udp/udp_socket_libevent.cc ('k') | ppapi/proxy/plugin_dispatcher.cc » ('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) 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_socket_win.h" 5 #include "net/udp/udp_socket_win.h"
6 6
7 #include <mstcpip.h> 7 #include <mstcpip.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/eintr_wrapper.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/message_loop.h" 11 #include "base/message_loop.h"
13 #include "base/metrics/stats_counters.h" 12 #include "base/metrics/stats_counters.h"
13 #include "base/posix/eintr_wrapper.h"
14 #include "base/rand_util.h" 14 #include "base/rand_util.h"
15 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
16 #include "net/base/ip_endpoint.h" 16 #include "net/base/ip_endpoint.h"
17 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
18 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
19 #include "net/base/net_util.h" 19 #include "net/base/net_util.h"
20 #include "net/base/winsock_init.h" 20 #include "net/base/winsock_init.h"
21 #include "net/base/winsock_util.h" 21 #include "net/base/winsock_util.h"
22 #include "net/udp/udp_net_log_parameters.h" 22 #include "net/udp/udp_net_log_parameters.h"
23 23
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 } 602 }
603 return DoBind(IPEndPoint(ip, 0)); 603 return DoBind(IPEndPoint(ip, 0));
604 } 604 }
605 605
606 bool UDPSocketWin::ReceiveAddressToIPEndpoint(IPEndPoint* address) const { 606 bool UDPSocketWin::ReceiveAddressToIPEndpoint(IPEndPoint* address) const {
607 SockaddrStorage& storage = core_->recv_addr_storage_; 607 SockaddrStorage& storage = core_->recv_addr_storage_;
608 return address->FromSockAddr(storage.addr, storage.addr_len); 608 return address->FromSockAddr(storage.addr, storage.addr_len);
609 } 609 }
610 610
611 } // namespace net 611 } // namespace net
OLDNEW
« no previous file with comments | « net/udp/udp_socket_libevent.cc ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698