From 6e6f6cb268866ca931e7e9ddb839e978c1bfdc1a Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Thu, 27 Jan 2011 13:26:55 +0000 Subject: 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 --- chrome/app/policy/policy_templates.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'chrome/app/policy') 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-'], -- cgit v1.1