Index: chrome/browser/managed_mode/managed_mode_interstitial.h |
diff --git a/chrome/browser/managed_mode/managed_mode_interstitial.h b/chrome/browser/managed_mode/managed_mode_interstitial.h |
index 06027d6df424968e0c8374b4df343c10682dfeb1..7acc205a7aca30e75b66c1e48450eaea3522459a 100644 |
--- a/chrome/browser/managed_mode/managed_mode_interstitial.h |
+++ b/chrome/browser/managed_mode/managed_mode_interstitial.h |
@@ -23,12 +23,18 @@ class WebContents; |
// blocked page, to decide later whether to manually allow it. |
class ManagedModeInterstitial : public content::InterstitialPageDelegate { |
public: |
+ static void Show(content::WebContents* web_contents, |
+ const GURL& url, |
+ const base::Callback<void(bool)>& callback); |
+ |
+ private: |
ManagedModeInterstitial(content::WebContents* web_contents, |
const GURL& url, |
const base::Callback<void(bool)>& callback); |
virtual ~ManagedModeInterstitial(); |
- private: |
+ bool Init(); |
+ |
// InterstitialPageDelegate implementation. |
virtual std::string GetHTMLContents() OVERRIDE; |
virtual void CommandReceived(const std::string& command) OVERRIDE; |