diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-27 13:26:55 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-27 13:26:55 +0000 |
commit | 6e6f6cb268866ca931e7e9ddb839e978c1bfdc1a (patch) | |
tree | 68e433ba64393e640414009634b2a28e7e634a95 /chrome/app/policy | |
parent | ebd0b02ef588eb4ceb22408c168c505963e97b3f (diff) | |
download | chromium_src-6e6f6cb268866ca931e7e9ddb839e978c1bfdc1a.zip chromium_src-6e6f6cb268866ca931e7e9ddb839e978c1bfdc1a.tar.gz chromium_src-6e6f6cb268866ca931e7e9ddb839e978c1bfdc1a.tar.bz2 |
Implement pref policy for disabling incognito mode.
2nd attempt with shutdown crash fix (only difference is in browser.cc).
BUG=66413
TEST=None
Review URL: http://codereview.chromium.org/6279012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r-- | chrome/app/policy/policy_templates.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index 291fb8d..16b0a4a 100644 --- a/chrome/app/policy/policy_templates.json +++ b/chrome/app/policy/policy_templates.json @@ -206,6 +206,19 @@ If this setting is disabled, web pages cannot use JavaScript.''', }, { + 'name': 'IncognitoEnabled', + 'type': 'main', + 'supported_on': ['chrome.*:11-'], + 'features': {'dynamic_refresh': 1}, + 'example_value': False, + 'caption': '''Enable Incognito mode''', + 'desc': '''Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. + + If this setting is enabled or not configured, users can open web pages in incognito mode. + + If this setting is disabled, users cannot open web pages in incognito mode.''', + }, + { 'name': 'SavingBrowserHistoryDisabled', 'type': 'main', 'supported_on': ['chrome.*:8-'], |