| OLD | NEW |
| 1 // Copyright (c) 2011 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/callback_old.h" | |
| 9 #include "base/logging.h" | 8 #include "base/logging.h" |
| 10 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 11 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
| 12 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
| 13 #include "base/stringprintf.h" | 12 #include "base/stringprintf.h" |
| 14 #include "base/task.h" | 13 #include "base/task.h" |
| 15 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
| 16 #include "base/time.h" | 15 #include "base/time.h" |
| 17 #include "base/tuple.h" | 16 #include "base/tuple.h" |
| 18 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 host_resolver, tcp_server_address, kSmallTestBytesToSend, | 595 host_resolver, tcp_server_address, kSmallTestBytesToSend, |
| 597 net::CompletionCallback()); | 596 net::CompletionCallback()); |
| 598 | 597 |
| 599 TCPStatsClient* large_tcp_client = new TCPStatsClient(); | 598 TCPStatsClient* large_tcp_client = new TCPStatsClient(); |
| 600 large_tcp_client->Start( | 599 large_tcp_client->Start( |
| 601 host_resolver, tcp_server_address, kLargeTestBytesToSend, | 600 host_resolver, tcp_server_address, kLargeTestBytesToSend, |
| 602 net::CompletionCallback()); | 601 net::CompletionCallback()); |
| 603 } | 602 } |
| 604 | 603 |
| 605 } // namespace chrome_browser_net | 604 } // namespace chrome_browser_net |
| OLD | NEW |