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

Side by Side Diff: chrome/browser/net/network_stats.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | « chrome/browser/net/net_pref_observer.cc ('k') | chrome/browser/net/predictor.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 "chrome/browser/net/network_stats.h" 5 #include "chrome/browser/net/network_stats.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "base/task.h"
14 #include "base/threading/platform_thread.h" 13 #include "base/threading/platform_thread.h"
15 #include "base/time.h" 14 #include "base/time.h"
16 #include "base/tuple.h" 15 #include "base/tuple.h"
17 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
18 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
19 #include "net/base/net_util.h" 18 #include "net/base/net_util.h"
20 #include "net/base/network_change_notifier.h" 19 #include "net/base/network_change_notifier.h"
21 #include "net/base/sys_addrinfo.h" 20 #include "net/base/sys_addrinfo.h"
22 #include "net/base/test_completion_callback.h" 21 #include "net/base/test_completion_callback.h"
23 #include "net/socket/tcp_client_socket.h" 22 #include "net/socket/tcp_client_socket.h"
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 host_resolver, tcp_server_address, kSmallTestBytesToSend, 594 host_resolver, tcp_server_address, kSmallTestBytesToSend,
596 net::CompletionCallback()); 595 net::CompletionCallback());
597 596
598 TCPStatsClient* large_tcp_client = new TCPStatsClient(); 597 TCPStatsClient* large_tcp_client = new TCPStatsClient();
599 large_tcp_client->Start( 598 large_tcp_client->Start(
600 host_resolver, tcp_server_address, kLargeTestBytesToSend, 599 host_resolver, tcp_server_address, kLargeTestBytesToSend,
601 net::CompletionCallback()); 600 net::CompletionCallback());
602 } 601 }
603 602
604 } // namespace chrome_browser_net 603 } // namespace chrome_browser_net
OLDNEW
« no previous file with comments | « chrome/browser/net/net_pref_observer.cc ('k') | chrome/browser/net/predictor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698