summaryrefslogtreecommitdiffstats
path: root/chrome/browser/managed_mode/managed_mode_interstitial.h
diff options
context:
space:
mode:
authorsergiu@chromium.org <sergiu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 11:42:13 +0000
committersergiu@chromium.org <sergiu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 11:42:13 +0000
commite8348350d4520eb0c4744fd8403ca9efadd4d3f8 (patch)
tree7f1998cd8d667cdc130b02f34e4c0ac9af82ff6e /chrome/browser/managed_mode/managed_mode_interstitial.h
parentc28c952d93d25cadb3ba338a219231ab177748cf (diff)
downloadchromium_src-e8348350d4520eb0c4744fd8403ca9efadd4d3f8.zip
chromium_src-e8348350d4520eb0c4744fd8403ca9efadd4d3f8.tar.gz
chromium_src-e8348350d4520eb0c4744fd8403ca9efadd4d3f8.tar.bz2
Add visit attempts when the managed user is blocked
Added a new transition type for blocked visits and added a history visit when the managed user triggers the interstitial. Also refactored the place where we trigger the interstitial. R=bauerb@chromium.org, dubroy@chromium.org, brettw@chromium.org, jhawkins@chromium.org, joi@chromium.org BUG=228778 Review URL: https://chromiumcodereview.appspot.com/14320018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196120 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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/managed_mode/managed_mode_interstitial.h b/chrome/browser/managed_mode/managed_mode_interstitial.h
index 98aeaef..ce616a6 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();