Chromium Code Reviews| 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..af0092638a855a3e48fd5f6316dd8f2aca1c1716 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, 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. |
|
Joao da Silva
2012/06/19 10:23:55
Nit: "If this policy is enable, _it_ will be ..."
Mattias Nissler (ping if slow)
2012/06/20 08:15:40
Done.
|
| - 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}, |