diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 14:59:29 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 14:59:29 +0000 |
commit | e1457d5825f3609777651359ae424be65b75b0e4 (patch) | |
tree | 50275793720bc3315b928dfa79c8f9396f6bc872 /chrome/browser/extensions/extension_tabs_module_constants.h | |
parent | c4081853c78b7842406d1ebcf3c32bd7c9c9e674 (diff) | |
download | chromium_src-e1457d5825f3609777651359ae424be65b75b0e4.zip chromium_src-e1457d5825f3609777651359ae424be65b75b0e4.tar.gz chromium_src-e1457d5825f3609777651359ae424be65b75b0e4.tar.bz2 |
Make sure extensions can't open an incognito window if disabled by network policy.
BUG=66413
TEST=Disallow incognito (using the enterprise tools), open the bookmark manager, right-click an item, select Open in incognito. It should not work.
Review URL: http://codereview.chromium.org/6250131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module_constants.h')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module_constants.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module_constants.h b/chrome/browser/extensions/extension_tabs_module_constants.h index 4503014..977727d 100644 --- a/chrome/browser/extensions/extension_tabs_module_constants.h +++ b/chrome/browser/extensions/extension_tabs_module_constants.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -64,6 +64,7 @@ extern const char kWindowNotFoundError[]; extern const char kTabNotFoundError[]; extern const char kTabStripNotEditableError[]; extern const char kNoSelectedTabError[]; +extern const char kIncognitoModeIsDisabled[]; extern const char kInvalidUrlError[]; extern const char kInternalVisibleTabCaptureError[]; extern const char kNotImplementedError[]; |