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

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

Issue 16652007: Use a direct include of strings headers in net/test/, net/third_party/, net/tools/, net/udp/, net/u… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup_util.cc ('k') | net/url_request/url_fetcher_impl_unittest.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_net_log_parameters.h" 5 #include "net/udp/udp_net_log_parameters.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 namespace { 14 namespace {
15 15
16 Value* NetLogUDPDataTranferCallback(int byte_count, 16 Value* NetLogUDPDataTranferCallback(int byte_count,
17 const char* bytes, 17 const char* bytes,
18 const IPEndPoint* address, 18 const IPEndPoint* address,
(...skipping 24 matching lines...) Expand all
43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address); 43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
44 } 44 }
45 45
46 NetLog::ParametersCallback CreateNetLogUDPConnectCallback( 46 NetLog::ParametersCallback CreateNetLogUDPConnectCallback(
47 const IPEndPoint* address) { 47 const IPEndPoint* address) {
48 DCHECK(address); 48 DCHECK(address);
49 return base::Bind(&NetLogUDPConnectCallback, address); 49 return base::Bind(&NetLogUDPConnectCallback, address);
50 } 50 }
51 51
52 } // namespace net 52 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup_util.cc ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698