summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_blocking_page.h')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_blocking_page.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
index b5ac288..5c97bb0 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