| 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 <utility> | 5 #include <utility> |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 #include "content/public/common/content_switches.h" | 74 #include "content/public/common/content_switches.h" |
| 75 #include "content/public/common/security_style.h" | 75 #include "content/public/common/security_style.h" |
| 76 #include "content/public/common/ssl_status.h" | 76 #include "content/public/common/ssl_status.h" |
| 77 #include "content/public/test/browser_test_utils.h" | 77 #include "content/public/test/browser_test_utils.h" |
| 78 #include "content/public/test/download_test_observer.h" | 78 #include "content/public/test/download_test_observer.h" |
| 79 #include "content/public/test/test_navigation_observer.h" | 79 #include "content/public/test/test_navigation_observer.h" |
| 80 #include "content/public/test/test_renderer_host.h" | 80 #include "content/public/test/test_renderer_host.h" |
| 81 #include "content/public/test/test_utils.h" | 81 #include "content/public/test/test_utils.h" |
| 82 #include "net/base/host_port_pair.h" | 82 #include "net/base/host_port_pair.h" |
| 83 #include "net/base/net_errors.h" | 83 #include "net/base/net_errors.h" |
| 84 #include "net/base/test_data_directory.h" | |
| 85 #include "net/cert/cert_status_flags.h" | 84 #include "net/cert/cert_status_flags.h" |
| 86 #include "net/cert/mock_cert_verifier.h" | 85 #include "net/cert/mock_cert_verifier.h" |
| 87 #include "net/cert/x509_certificate.h" | 86 #include "net/cert/x509_certificate.h" |
| 88 #include "net/dns/mock_host_resolver.h" | 87 #include "net/dns/mock_host_resolver.h" |
| 89 #include "net/ssl/ssl_info.h" | 88 #include "net/ssl/ssl_info.h" |
| 90 #include "net/test/cert_test_util.h" | 89 #include "net/test/cert_test_util.h" |
| 91 #include "net/test/embedded_test_server/embedded_test_server.h" | 90 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 92 #include "net/test/embedded_test_server/request_handler_util.h" | 91 #include "net/test/embedded_test_server/request_handler_util.h" |
| 93 #include "net/test/spawned_test_server/spawned_test_server.h" | 92 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 94 #include "net/test/test_certificate_data.h" | 93 #include "net/test/test_certificate_data.h" |
| 94 #include "net/test/test_data_directory.h" |
| 95 #include "net/url_request/url_request_context.h" | 95 #include "net/url_request/url_request_context.h" |
| 96 | 96 |
| 97 #if defined(USE_NSS_CERTS) | 97 #if defined(USE_NSS_CERTS) |
| 98 #include "chrome/browser/net/nss_context.h" | 98 #include "chrome/browser/net/nss_context.h" |
| 99 #include "net/base/crypto_module.h" | 99 #include "net/base/crypto_module.h" |
| 100 #include "net/cert/nss_cert_database.h" | 100 #include "net/cert/nss_cert_database.h" |
| 101 #endif // defined(USE_NSS_CERTS) | 101 #endif // defined(USE_NSS_CERTS) |
| 102 | 102 |
| 103 using base::ASCIIToUTF16; | 103 using base::ASCIIToUTF16; |
| 104 using chrome_browser_interstitials::SecurityInterstitialIDNTest; | 104 using chrome_browser_interstitials::SecurityInterstitialIDNTest; |
| (...skipping 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3016 | 3016 |
| 3017 // Visit a page over https that contains a frame with a redirect. | 3017 // Visit a page over https that contains a frame with a redirect. |
| 3018 | 3018 |
| 3019 // XMLHttpRequest insecure content in synchronous mode. | 3019 // XMLHttpRequest insecure content in synchronous mode. |
| 3020 | 3020 |
| 3021 // XMLHttpRequest insecure content in asynchronous mode. | 3021 // XMLHttpRequest insecure content in asynchronous mode. |
| 3022 | 3022 |
| 3023 // XMLHttpRequest over bad ssl in synchronous mode. | 3023 // XMLHttpRequest over bad ssl in synchronous mode. |
| 3024 | 3024 |
| 3025 // XMLHttpRequest over OK ssl in synchronous mode. | 3025 // XMLHttpRequest over OK ssl in synchronous mode. |
| OLD | NEW |