| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/strings/utf_string_conversions.h" | 5 #include "base/strings/utf_string_conversions.h" |
| 6 #include "chrome/browser/chrome_notification_types.h" | 6 #include "chrome/browser/chrome_notification_types.h" |
| 7 #include "chrome/browser/devtools/devtools_window.h" | 7 #include "chrome/browser/devtools/devtools_window.h" |
| 8 #include "chrome/browser/devtools/devtools_window_testing.h" | 8 #include "chrome/browser/devtools/devtools_window_testing.h" |
| 9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
| 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 "Security error"); | 48 "Security error"); |
| 49 TestInterstitial( | 49 TestInterstitial( |
| 50 GURL("chrome://interstitials/safebrowsing?type=phishing"), | 50 GURL("chrome://interstitials/safebrowsing?type=phishing"), |
| 51 "Security error"); | 51 "Security error"); |
| 52 TestInterstitial( | 52 TestInterstitial( |
| 53 GURL("chrome://interstitials/safebrowsing?type=clientside_malware"), | 53 GURL("chrome://interstitials/safebrowsing?type=clientside_malware"), |
| 54 "Security error"); | 54 "Security error"); |
| 55 TestInterstitial( | 55 TestInterstitial( |
| 56 GURL("chrome://interstitials/safebrowsing?type=clientside_phishing"), | 56 GURL("chrome://interstitials/safebrowsing?type=clientside_phishing"), |
| 57 "Security error"); | 57 "Security error"); |
| 58 TestInterstitial(GURL("chrome://interstitials/captiveportal"), |
| 59 "Connect to network"); |
| 60 TestInterstitial(GURL("chrome://interstitials/captiveportal?is_wifi=1"), |
| 61 "Connect to Wi-Fi"); |
| 58 } | 62 } |
| OLD | NEW |