OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/connection_tester.h" | 5 #include "chrome/browser/net/connection_tester.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/importer/firefox_proxy_settings.h" | 12 #include "chrome/browser/importer/firefox_proxy_settings.h" |
12 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
13 #include "net/base/cookie_monster.h" | 14 #include "net/base/cookie_monster.h" |
14 #include "net/base/host_resolver_impl.h" | 15 #include "net/base/host_resolver_impl.h" |
15 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
16 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
17 #include "net/base/ssl_config_service_defaults.h" | 18 #include "net/base/ssl_config_service_defaults.h" |
18 #include "net/disk_cache/disk_cache.h" | 19 #include "net/disk_cache/disk_cache.h" |
19 #include "net/ftp/ftp_network_layer.h" | 20 #include "net/ftp/ftp_network_layer.h" |
20 #include "net/http/http_auth_handler_factory.h" | 21 #include "net/http/http_auth_handler_factory.h" |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 | 390 |
390 // Notify the delegate of completion. | 391 // Notify the delegate of completion. |
391 delegate_->OnCompletedConnectionTestExperiment(current, result); | 392 delegate_->OnCompletedConnectionTestExperiment(current, result); |
392 | 393 |
393 if (remaining_experiments_.empty()) { | 394 if (remaining_experiments_.empty()) { |
394 delegate_->OnCompletedConnectionTestSuite(); | 395 delegate_->OnCompletedConnectionTestSuite(); |
395 } else { | 396 } else { |
396 StartNextExperiment(); | 397 StartNextExperiment(); |
397 } | 398 } |
398 } | 399 } |
OLD | NEW |