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