| 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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 content::WebContents* contents = | 1206 content::WebContents* contents = |
| 1207 browser()->tab_strip_model()->GetActiveWebContents(); | 1207 browser()->tab_strip_model()->GetActiveWebContents(); |
| 1208 ASSERT_TRUE(contents); | 1208 ASSERT_TRUE(contents); |
| 1209 | 1209 |
| 1210 ChromeSecurityStateModelClient* model_client = | 1210 ChromeSecurityStateModelClient* model_client = |
| 1211 ChromeSecurityStateModelClient::FromWebContents(contents); | 1211 ChromeSecurityStateModelClient::FromWebContents(contents); |
| 1212 ASSERT_TRUE(model_client); | 1212 ASSERT_TRUE(model_client); |
| 1213 | 1213 |
| 1214 ui_test_utils::NavigateToURL( | 1214 ui_test_utils::NavigateToURL( |
| 1215 browser(), | 1215 browser(), |
| 1216 GURL("blob:chrome%3A//newtab/49a463bb-fac8-476c-97bf-5d7076c3ea1a")); | 1216 GURL("blob:chrome://newtab/49a463bb-fac8-476c-97bf-5d7076c3ea1a")); |
| 1217 EXPECT_EQ(security_state::SecurityStateModel::NONE, | 1217 EXPECT_EQ(security_state::SecurityStateModel::NONE, |
| 1218 model_client->GetSecurityInfo().security_level); | 1218 model_client->GetSecurityInfo().security_level); |
| 1219 } | 1219 } |
| 1220 | 1220 |
| 1221 #if defined(USE_NSS_CERTS) | 1221 #if defined(USE_NSS_CERTS) |
| 1222 class SSLUITestWithClientCert : public SSLUITest { | 1222 class SSLUITestWithClientCert : public SSLUITest { |
| 1223 public: | 1223 public: |
| 1224 SSLUITestWithClientCert() : cert_db_(NULL) {} | 1224 SSLUITestWithClientCert() : cert_db_(NULL) {} |
| 1225 | 1225 |
| 1226 void SetUpOnMainThread() override { | 1226 void SetUpOnMainThread() override { |
| (...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2996 | 2996 |
| 2997 // Visit a page over https that contains a frame with a redirect. | 2997 // Visit a page over https that contains a frame with a redirect. |
| 2998 | 2998 |
| 2999 // XMLHttpRequest insecure content in synchronous mode. | 2999 // XMLHttpRequest insecure content in synchronous mode. |
| 3000 | 3000 |
| 3001 // XMLHttpRequest insecure content in asynchronous mode. | 3001 // XMLHttpRequest insecure content in asynchronous mode. |
| 3002 | 3002 |
| 3003 // XMLHttpRequest over bad ssl in synchronous mode. | 3003 // XMLHttpRequest over bad ssl in synchronous mode. |
| 3004 | 3004 |
| 3005 // XMLHttpRequest over OK ssl in synchronous mode. | 3005 // XMLHttpRequest over OK ssl in synchronous mode. |
| OLD | NEW |