diff options
author | sergiu@chromium.org <sergiu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-24 11:42:13 +0000 |
---|---|---|
committer | sergiu@chromium.org <sergiu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-24 11:42:13 +0000 |
commit | e8348350d4520eb0c4744fd8403ca9efadd4d3f8 (patch) | |
tree | 7f1998cd8d667cdc130b02f34e4c0ac9af82ff6e /chrome/browser/managed_mode/managed_mode_interstitial.h | |
parent | c28c952d93d25cadb3ba338a219231ab177748cf (diff) | |
download | chromium_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.h | 10 |
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(); |