Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
index 6b9f232eca39b6ba8b44458df9026b42f04e03cf..31ebfdd0baa6de3465a550b633d1dfcdea07ddab 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
@@ -60,6 +60,13 @@ class SafeBrowsingBlockingPage : public content::InterstitialPageDelegate { |
virtual ~SafeBrowsingBlockingPage(); |
+ // Creates a blocking page. Use ShowBlockingPage if you don't need to access |
+ // the blocking page directly. |
+ static SafeBrowsingBlockingPage* CreateBlockingPage( |
+ SafeBrowsingUIManager* ui_manager, |
+ content::WebContents* web_contents, |
+ const UnsafeResource& unsafe_resource); |
+ |
// Shows a blocking page warning the user about phishing/malware for a |
// specific resource. |
// You can call this method several times, if an interstitial is already |