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

Side by Side Diff: net/socket/udp_net_log_parameters.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_net_log_parameters.h ('k') | net/socket/udp_server_socket.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) 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_net_log_parameters.h" 5 #include "net/socket/udp_net_log_parameters.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "net/base/ip_endpoint.h" 12 #include "net/base/ip_endpoint.h"
13 13
14 namespace net { 14 namespace net {
15 15
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 52
53 NetLogParametersCallback CreateNetLogUDPConnectCallback( 53 NetLogParametersCallback CreateNetLogUDPConnectCallback(
54 const IPEndPoint* address, 54 const IPEndPoint* address,
55 NetworkChangeNotifier::NetworkHandle network) { 55 NetworkChangeNotifier::NetworkHandle network) {
56 DCHECK(address); 56 DCHECK(address);
57 return base::Bind(&NetLogUDPConnectCallback, address, network); 57 return base::Bind(&NetLogUDPConnectCallback, address, network);
58 } 58 }
59 59
60 } // namespace net 60 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/udp_net_log_parameters.h ('k') | net/socket/udp_server_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698