Chromium Code Reviews| Index: chrome/browser/ssl/ssl_blocking_page.h |
| diff --git a/chrome/browser/ssl/ssl_blocking_page.h b/chrome/browser/ssl/ssl_blocking_page.h |
| index 122de1bec21a8ab27cd991da9490482e40c3c979..c3740218509579b605dae08060d755343a5f2837 100644 |
| --- a/chrome/browser/ssl/ssl_blocking_page.h |
| +++ b/chrome/browser/ssl/ssl_blocking_page.h |
| @@ -67,7 +67,8 @@ class SSLBlockingPage : public SecurityInterstitialPage { |
| int options_mask, |
| const base::Time& time_triggered, |
| scoped_ptr<SSLCertReporter> ssl_cert_reporter, |
| - const base::Callback<void(bool)>& callback); |
| + const base::Callback<void(bool)>& callback, |
| + const GURL& suggested_url); |
| // InterstitialPageDelegate method: |
| InterstitialPageDelegate::TypeID GetTypeForTesting() const override; |
| @@ -106,6 +107,8 @@ class SSLBlockingPage : public SecurityInterstitialPage { |
| base::Callback<void(bool)> callback_; |
| + void NavigateToSuggestedURL() const; |
| + |
| const int cert_error_; |
| const net::SSLInfo ssl_info_; |
| // There are two ways for the user to override an interstitial: |
| @@ -130,6 +133,10 @@ class SSLBlockingPage : public SecurityInterstitialPage { |
| scoped_ptr<CertReportHelper> cert_report_helper_; |
| + // Guide the user to this url, when there is a common name mismatch error |
|
palmer
2015/07/17 00:16:00
Nit: URL
Bhanu Dev
2015/07/23 20:11:06
Done.
|
| + // and it can be handled. |
| + const GURL suggested_url_; |
| + |
| // Which type of interstitial this is. |
| enum SSLInterstitialReason { |
| SSL_REASON_SSL, |