summaryrefslogtreecommitdiffstats
path: root/chrome/browser/managed_mode/managed_mode_interstitial.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-28 18:51:12 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-28 18:51:12 +0000
commit371b3faf1f9f142194d3e67ac2aeb16bbd22a350 (patch)
treee52be6920f4d262551e09144cb0937e12b5de33a /chrome/browser/managed_mode/managed_mode_interstitial.h
parentd7a227fb87c258f343ca72cfc424a1f48cbde43f (diff)
downloadchromium_src-371b3faf1f9f142194d3e67ac2aeb16bbd22a350.zip
chromium_src-371b3faf1f9f142194d3e67ac2aeb16bbd22a350.tar.gz
chromium_src-371b3faf1f9f142194d3e67ac2aeb16bbd22a350.tar.bz2
Show interstitial from ManagedModeNavigationObserver instead of ManagedModeResourceThrottle.
BUG=168772 Review URL: https://chromiumcodereview.appspot.com/12887005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/managed_mode/managed_mode_interstitial.h')
-rw-r--r--chrome/browser/managed_mode/managed_mode_interstitial.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/managed_mode/managed_mode_interstitial.h b/chrome/browser/managed_mode/managed_mode_interstitial.h
index 98aeaef..1bfc346d 100644
--- a/chrome/browser/managed_mode/managed_mode_interstitial.h
+++ b/chrome/browser/managed_mode/managed_mode_interstitial.h
@@ -28,16 +28,6 @@ class ManagedModeInterstitial : public content::InterstitialPageDelegate {
const base::Callback<void(bool)>& callback);
virtual ~ManagedModeInterstitial();
- // Should be called on the IO thread.
- // |render_process_host_id| and |render_view_id| identify the WebContents
- // where the request was blocked. |url| is the URL that was blocked.
- // |callback| should be called with the result (whether to allow the request
- // or not).
- static void ShowInterstitial(int render_process_host_id,
- int render_view_id,
- const GURL& url,
- const base::Callback<void(bool)>& callback);
-
private:
void GoToNewTabPage();
@@ -50,7 +40,6 @@ class ManagedModeInterstitial : public content::InterstitialPageDelegate {
// Will be called when the passphrase dialog is closed, which is shown after
// clicking the preview button.
void OnAuthorizationResult(bool success);
- void DispatchContinueRequest(bool continue_request);
// Owns the interstitial, which owns us.
content::WebContents* web_contents_;