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 f9782cd65c3433ab2474f7a11b8e0e15928666d7..a4224a20ba3f9e601fd3117068c27e4215006495 100644 |
--- a/chrome/browser/ssl/ssl_blocking_page.h |
+++ b/chrome/browser/ssl/ssl_blocking_page.h |
@@ -48,16 +48,23 @@ class SSLBlockingPage : public content::InterstitialPageDelegate, |
CMD_CLOCK = 5 |
}; |
- SSLBlockingPage( |
- content::WebContents* web_contents, |
- int cert_error, |
- const net::SSLInfo& ssl_info, |
- const GURL& request_url, |
- bool overridable, |
- bool strict_enforcement, |
- const base::Callback<void(bool)>& callback); |
virtual ~SSLBlockingPage(); |
+ static void Show(content::WebContents* web_contents, |
+ int cert_error, |
+ const net::SSLInfo& ssl_info, |
+ const GURL& request_url, |
+ bool overridable, |
+ bool strict_enforcement, |
+ const base::Callback<void(bool)>& callback); |
+ |
+ static SSLBlockingPage* CreateForWebUI(content::WebContents* web_contents, |
+ int cert_error, |
+ const net::SSLInfo& ssl_info, |
+ const GURL& request_url, |
+ bool overridable, |
+ bool strict_enforcement); |
+ |
// A method that sets strings in the specified dictionary from the passed |
// vector so that they can be used to resource the ssl_roadblock.html/ |
// ssl_error.html files. |
@@ -76,6 +83,16 @@ class SSLBlockingPage : public content::InterstitialPageDelegate, |
virtual void OnDontProceed() OVERRIDE; |
private: |
+ SSLBlockingPage( |
+ content::WebContents* web_contents, |
+ bool create_interstitial, |
+ int cert_error, |
+ const net::SSLInfo& ssl_info, |
+ const GURL& request_url, |
+ bool overridable, |
+ bool strict_enforcement, |
+ const base::Callback<void(bool)>& callback); |
+ |
void NotifyDenyCertificate(); |
void NotifyAllowCertificate(); |