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..9399d8a932844d07eb11b5e011c030e4b0258cef 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); |
|
meacer
2015/07/09 17:58:55
As we discussed offline, let's separate UI bits in
Bhanu Dev
2015/07/11 04:00:43
Acknowledged.
|
| // InterstitialPageDelegate method: |
| InterstitialPageDelegate::TypeID GetTypeForTesting() const override; |
| @@ -130,6 +131,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_; |
|
meacer
2015/07/09 17:58:55
Keep a copy instead of a reference.
Bhanu Dev
2015/07/11 04:00:43
Done.
|
| + |
| // Which type of interstitial this is. |
| enum SSLInterstitialReason { |
| SSL_REASON_SSL, |