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 b5ac288a785ff312ccd2202e80151ac0f8b63f72..5c97bb0faa27b5738367d5efcc39d7f540d4d520 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
@@ -61,6 +61,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 |