Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: chrome/app/policy/policy_templates.json

Issue 10562036: Deprecate and re-wire the ClearSiteDataOnExit policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 359491483d7fcc463fb54b8d2757736ca191788e..6347fe4d2e319ebdcf3bcfd0489c0e22904e0184 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -743,19 +743,18 @@
'dynamic_refresh': True,
'can_be_recommended': True,
},
+ 'deprecated': True,
'example_value': True,
'id': 65,
- 'caption': '''Clear site data on browser shutdown''',
- 'desc': '''This policy is an override for the "Clear cookies and other site data when I close my browser" content settings option.
-
- When set to enabled <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will delete all locally stored data from the browser when it is shut down.
+ 'caption': '''Clear site data on browser shutdown (deprecated)''',
+ 'desc': '''This policy is an override for the "Clear cookies and other site data when I close my browser" content settings option that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> supported prior to version 21.
- If set to disabled site data will not be cleared on exit.
+ This policy exists only for backward-compatibility and will go away in the future. The recommended way to clear site data on exit on version 21 and later is to configure the DefaultCookiesSetting policy to session-only.
- If this policy is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the default which is to preserve site data on shut down and the user will be able to change this.
+ If this policy is enabled it will be translated to the appropriate policy setting for the DefaultCookiesSetting policy, setting it to session-only if the DefaultCookiesSetting policy is not configured or set to Allow.
- If the "RestoreOnStartup" policy is set to restore URLs from previous sessions this policy will not clear cookies or other data relevant to restoring the previous browsing session completely.''',
- 'label': '''Clear site data on browser shutdown''',
+ If this policy is disabled or left unconfigured the policy for storing site data is determined by the DefaultCookiesSetting policy.''',
+ 'label': '''Clear site data on browser shutdown (deprecated)''',
},
{
'name': 'Proxy',
@@ -1388,6 +1387,11 @@
'value': 2,
'caption': '''Do not allow any site to set local data'''
},
+ {
+ 'name': 'SessionOnly',
+ 'value': 4,
+ 'caption': '''Keep cookies for the duration of the session.'''
+ },
],
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': True},
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698