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

Side by Side 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: Address comments. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 'label': '''Set download directory''', 736 'label': '''Set download directory''',
737 }, 737 },
738 { 738 {
739 'name': 'ClearSiteDataOnExit', 739 'name': 'ClearSiteDataOnExit',
740 'type': 'main', 740 'type': 'main',
741 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], 741 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
742 'features': { 742 'features': {
743 'dynamic_refresh': True, 743 'dynamic_refresh': True,
744 'can_be_recommended': True, 744 'can_be_recommended': True,
745 }, 745 },
746 'deprecated': True,
746 'example_value': True, 747 'example_value': True,
747 'id': 65, 748 'id': 65,
748 'caption': '''Clear site data on browser shutdown''', 749 'caption': '''Clear site data on browser shutdown (deprecated)''',
749 'desc': '''This policy is an override for the "Clear cookies and other sit e data when I close my browser" content settings option. 750 'desc': '''This policy is an override for the "Clear cookies and other sit e data when I close my browser" content settings option that <ph name="PRODUCT_N AME">$1<ex>Google Chrome</ex></ph> supported prior to version 21.
750 751
751 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. 752 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.
752 753
753 If set to disabled site data will not be cleared on exit. 754 If this policy is enabled, will be translated to the appropriate policy se tting for the DefaultCookiesSetting policy, setting it to session-only if the De faultCookiesSetting 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.
754 755
755 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. 756 If this policy is disabled or left unconfigured the policy for storing sit e data is determined by the DefaultCookiesSetting policy.''',
756 757 'label': '''Clear site data on browser shutdown (deprecated)''',
757 If the "RestoreOnStartup" policy is set to restore URLs from previous sess ions this policy will not clear cookies or other data relevant to restoring the previous browsing session completely.''',
758 'label': '''Clear site data on browser shutdown''',
759 }, 758 },
760 { 759 {
761 'name': 'Proxy', 760 'name': 'Proxy',
762 'type': 'group', 761 'type': 'group',
763 'caption': '''Proxy server''', 762 'caption': '''Proxy server''',
764 'desc': '''Allows you to specify the proxy server used by <ph name="PRODUC T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy set tings. 763 'desc': '''Allows you to specify the proxy server used by <ph name="PRODUC T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy set tings.
765 764
766 If you choose to never use a proxy server and always connect directly, all other options are ignored. 765 If you choose to never use a proxy server and always connect directly, all other options are ignored.
767 766
768 If you choose to auto detect the proxy server, all other options are ignor ed. 767 If you choose to auto detect the proxy server, all other options are ignor ed.
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1381 { 1380 {
1382 'name': 'AllowCookies', 1381 'name': 'AllowCookies',
1383 'value': 1, 1382 'value': 1,
1384 'caption': '''Allow all sites to set local data.''' 1383 'caption': '''Allow all sites to set local data.'''
1385 }, 1384 },
1386 { 1385 {
1387 'name': 'BlockCookies', 1386 'name': 'BlockCookies',
1388 'value': 2, 1387 'value': 2,
1389 'caption': '''Do not allow any site to set local data''' 1388 'caption': '''Do not allow any site to set local data'''
1390 }, 1389 },
1390 {
1391 'name': 'SessionOnly',
1392 'value': 4,
1393 'caption': '''Keep cookies for the duration of the session.'''
1394 },
1391 ], 1395 ],
1392 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], 1396 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
1393 'features': {'dynamic_refresh': True}, 1397 'features': {'dynamic_refresh': True},
1394 'example_value': 1, 1398 'example_value': 1,
1395 'id': 48, 1399 'id': 48,
1396 'caption': '''Default cookies setting''', 1400 'caption': '''Default cookies setting''',
1397 'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for a ll websites. 1401 'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for a ll websites.
1398 1402
1399 If this policy is left not set, 'AllowCookies' will be used and the us er will be able to change it.''', 1403 If this policy is left not set, 'AllowCookies' will be used and the us er will be able to change it.''',
1400 }, 1404 },
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after
2803 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2807 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2804 'text': 'deprecated', 2808 'text': 'deprecated',
2805 }, 2809 },
2806 'doc_recommended': { 2810 'doc_recommended': {
2807 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2811 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2808 'text': 'Recommended', 2812 'text': 'Recommended',
2809 }, 2813 },
2810 }, 2814 },
2811 'placeholders': [], 2815 'placeholders': [],
2812 } 2816 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698