| 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..88d1902947892b350b1971d0da662670d85f20fd 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,9 @@ class SSLBlockingPage : public SecurityInterstitialPage {
|
|
|
| base::Callback<void(bool)> callback_;
|
|
|
| + // Navigate to |suggested_url| when user clicks the link.
|
| + void OpenSuggestedURL() const;
|
| +
|
| const int cert_error_;
|
| const net::SSLInfo ssl_info_;
|
| // There are two ways for the user to override an interstitial:
|
| @@ -130,6 +134,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
|
| + // and it can be handled.
|
| + const GURL suggested_url_;
|
| +
|
| // Which type of interstitial this is.
|
| enum SSLInterstitialReason {
|
| SSL_REASON_SSL,
|
|
|