| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |