| 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 "base/stringprintf.h" | 5 #include "base/stringprintf.h" |
| 6 #include "base/time.h" | 6 #include "base/time.h" |
| 7 #include "chrome/app/chrome_command_ids.h" | 7 #include "chrome/app/chrome_command_ids.h" |
| 8 #include "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
| 9 #include "chrome/browser/browser_navigator.h" | |
| 10 #include "chrome/browser/prefs/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
| 11 #include "chrome/browser/profile.h" | 10 #include "chrome/browser/profile.h" |
| 12 #include "chrome/browser/tab_contents/interstitial_page.h" | 11 #include "chrome/browser/tab_contents/interstitial_page.h" |
| 13 #include "chrome/browser/tab_contents/navigation_entry.h" | 12 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 14 #include "chrome/browser/tab_contents/tab_contents.h" | 13 #include "chrome/browser/tab_contents/tab_contents.h" |
| 15 #include "chrome/browser/tabs/tab_strip_model.h" | 14 #include "chrome/browser/tabs/tab_strip_model.h" |
| 15 #include "chrome/browser/ui/browser_navigator.h" |
| 16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
| 17 #include "chrome/test/in_process_browser_test.h" | 17 #include "chrome/test/in_process_browser_test.h" |
| 18 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
| 19 #include "net/base/cert_status_flags.h" | 19 #include "net/base/cert_status_flags.h" |
| 20 #include "net/test/test_server.h" | 20 #include "net/test/test_server.h" |
| 21 | 21 |
| 22 const FilePath::CharType kDocRoot[] = FILE_PATH_LITERAL("chrome/test/data"); | 22 const FilePath::CharType kDocRoot[] = FILE_PATH_LITERAL("chrome/test/data"); |
| 23 | 23 |
| 24 class SSLUITest : public InProcessBrowserTest { | 24 class SSLUITest : public InProcessBrowserTest { |
| 25 typedef net::TestServer::HTTPSOptions HTTPSOptions; | 25 typedef net::TestServer::HTTPSOptions HTTPSOptions; |
| (...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 | 1012 |
| 1013 // Visit a page over https that contains a frame with a redirect. | 1013 // Visit a page over https that contains a frame with a redirect. |
| 1014 | 1014 |
| 1015 // XMLHttpRequest insecure content in synchronous mode. | 1015 // XMLHttpRequest insecure content in synchronous mode. |
| 1016 | 1016 |
| 1017 // XMLHttpRequest insecure content in asynchronous mode. | 1017 // XMLHttpRequest insecure content in asynchronous mode. |
| 1018 | 1018 |
| 1019 // XMLHttpRequest over bad ssl in synchronous mode. | 1019 // XMLHttpRequest over bad ssl in synchronous mode. |
| 1020 | 1020 |
| 1021 // XMLHttpRequest over OK ssl in synchronous mode. | 1021 // XMLHttpRequest over OK ssl in synchronous mode. |
| OLD | NEW |