summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authormerkulova@chromium.org <merkulova@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-31 12:24:09 +0000
committermerkulova@chromium.org <merkulova@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-31 12:24:09 +0000
commit5ecf612f9ad4b992b54bb710795e57c5d26012e7 (patch)
tree6222ffcc0460ecccbe8b0960ed81fc1f71f6bc68 /ash/shell_delegate.h
parent6b375af3e3b3ea3000ab20caa6f1ee0e5596ba93 (diff)
downloadchromium_src-5ecf612f9ad4b992b54bb710795e57c5d26012e7.zip
chromium_src-5ecf612f9ad4b992b54bb710795e57c5d26012e7.tar.gz
chromium_src-5ecf612f9ad4b992b54bb710795e57c5d26012e7.tar.bz2
Check for incognito-mode availabilty added.
BUG=279953 Review URL: https://codereview.chromium.org/34903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r--ash/shell_delegate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 1023689..e222e19 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -116,6 +116,10 @@ class ASH_EXPORT ShellDelegate {
// Returns true if multi-profiles feature is enabled.
virtual bool IsMultiProfilesEnabled() const = 0;
+ // Returns true if incognito mode is allowed for the user.
+ // Incognito windows are restricted for supervised users.
+ virtual bool IsIncognitoAllowed() const = 0;
+
// Returns true if we're running in forced app mode.
virtual bool IsRunningInForcedAppMode() const = 0;