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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "content/public/browser/notification_service.h" | 31 #include "content/public/browser/notification_service.h" |
32 #include "content/public/browser/render_view_host.h" | 32 #include "content/public/browser/render_view_host.h" |
33 #include "content/public/browser/web_contents.h" | 33 #include "content/public/browser/web_contents.h" |
34 #include "content/public/browser/web_contents_observer.h" | 34 #include "content/public/browser/web_contents_observer.h" |
35 #include "content/public/common/security_style.h" | 35 #include "content/public/common/security_style.h" |
36 #include "content/public/common/ssl_status.h" | 36 #include "content/public/common/ssl_status.h" |
37 #include "content/public/test/browser_test_utils.h" | 37 #include "content/public/test/browser_test_utils.h" |
38 #include "content/public/test/download_test_observer.h" | 38 #include "content/public/test/download_test_observer.h" |
39 #include "content/public/test/test_renderer_host.h" | 39 #include "content/public/test/test_renderer_host.h" |
40 #include "crypto/nss_util.h" | 40 #include "crypto/nss_util.h" |
41 #include "net/base/cert_status_flags.h" | |
42 #include "net/base/crypto_module.h" | 41 #include "net/base/crypto_module.h" |
43 #include "net/base/net_errors.h" | 42 #include "net/base/net_errors.h" |
44 #include "net/base/test_data_directory.h" | 43 #include "net/base/test_data_directory.h" |
| 44 #include "net/cert/cert_status_flags.h" |
45 #include "net/test/test_server.h" | 45 #include "net/test/test_server.h" |
46 | 46 |
47 #if defined(USE_NSS) | 47 #if defined(USE_NSS) |
48 #include "net/base/nss_cert_database.h" | 48 #include "net/cert/nss_cert_database.h" |
49 #endif // defined(USE_NSS) | 49 #endif // defined(USE_NSS) |
50 | 50 |
51 using content::InterstitialPage; | 51 using content::InterstitialPage; |
52 using content::NavigationController; | 52 using content::NavigationController; |
53 using content::NavigationEntry; | 53 using content::NavigationEntry; |
54 using content::SSLStatus; | 54 using content::SSLStatus; |
55 using content::WebContents; | 55 using content::WebContents; |
56 | 56 |
57 const base::FilePath::CharType kDocRoot[] = | 57 const base::FilePath::CharType kDocRoot[] = |
58 FILE_PATH_LITERAL("chrome/test/data"); | 58 FILE_PATH_LITERAL("chrome/test/data"); |
(...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 | 1629 |
1630 // Visit a page over https that contains a frame with a redirect. | 1630 // Visit a page over https that contains a frame with a redirect. |
1631 | 1631 |
1632 // XMLHttpRequest insecure content in synchronous mode. | 1632 // XMLHttpRequest insecure content in synchronous mode. |
1633 | 1633 |
1634 // XMLHttpRequest insecure content in asynchronous mode. | 1634 // XMLHttpRequest insecure content in asynchronous mode. |
1635 | 1635 |
1636 // XMLHttpRequest over bad ssl in synchronous mode. | 1636 // XMLHttpRequest over bad ssl in synchronous mode. |
1637 | 1637 |
1638 // XMLHttpRequest over OK ssl in synchronous mode. | 1638 // XMLHttpRequest over OK ssl in synchronous mode. |
OLD | NEW |