OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/callback_old.h" | 7 #include "base/callback_old.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/task.h" | 13 #include "base/task.h" |
13 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
14 #include "base/time.h" | 15 #include "base/time.h" |
15 #include "base/tuple.h" | 16 #include "base/tuple.h" |
16 #include "content/browser/browser_thread.h" | 17 #include "content/browser/browser_thread.h" |
17 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
18 #include "net/base/net_util.h" | 19 #include "net/base/net_util.h" |
19 #include "net/base/network_change_notifier.h" | 20 #include "net/base/network_change_notifier.h" |
20 #include "net/base/sys_addrinfo.h" | 21 #include "net/base/sys_addrinfo.h" |
21 #include "net/base/test_completion_callback.h" | 22 #include "net/base/test_completion_callback.h" |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 TCPStatsClient* small_tcp_client = new TCPStatsClient(); | 592 TCPStatsClient* small_tcp_client = new TCPStatsClient(); |
592 small_tcp_client->Start(host_resolver, server_address, kSmallTestBytesToSend, | 593 small_tcp_client->Start(host_resolver, server_address, kSmallTestBytesToSend, |
593 NULL); | 594 NULL); |
594 | 595 |
595 TCPStatsClient* large_tcp_client = new TCPStatsClient(); | 596 TCPStatsClient* large_tcp_client = new TCPStatsClient(); |
596 large_tcp_client->Start(host_resolver, server_address, kLargeTestBytesToSend, | 597 large_tcp_client->Start(host_resolver, server_address, kLargeTestBytesToSend, |
597 NULL); | 598 NULL); |
598 } | 599 } |
599 | 600 |
600 } // namespace chrome_browser_net | 601 } // namespace chrome_browser_net |
OLD | NEW |