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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 117323003: Updated the documentation for caching policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 'supported_on': ['chrome.*:17-'], 959 'supported_on': ['chrome.*:17-'],
960 'features': { 960 'features': {
961 'dynamic_refresh': False, 961 'dynamic_refresh': False,
962 'per_profile': False, 962 'per_profile': False,
963 }, 963 },
964 'example_value': 104857600, 964 'example_value': 104857600,
965 'id': 110, 965 'id': 110,
966 'caption': '''Set disk cache size in bytes''', 966 'caption': '''Set disk cache size in bytes''',
967 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Go ogle Chrome</ex></ph> will use for storing cached files on the disk. 967 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Go ogle Chrome</ex></ph> will use for storing cached files on the disk.
968 968
969 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided cache size regardless whether the user has specified t he '--disk-cache-size' flag or not. 969 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided cache size regardless whether the user has specified t he '--disk-cache-size' flag or not. The value specified in this policy is not a hard boundary but rather a suggestion to the caching system, any value below a f ew megabytes is too small and will be rounded up to a sane minimum.
970 970
971 If the value of this policy is 0, the default cache size will be used but the user will not be able to change it. 971 If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
972 972
973 If this policy is not set the default size will be used and the user will be able to override it with the --disk-cache-size flag.''', 973 If this policy is not set the default size will be used and the user will be able to override it with the --disk-cache-size flag.''',
974 'label': '''Set disk cache size''', 974 'label': '''Set disk cache size''',
975 }, 975 },
976 { 976 {
977 'name': 'MediaCacheSize', 977 'name': 'MediaCacheSize',
978 'type': 'int', 978 'type': 'int',
979 'schema': { 'type': 'integer' }, 979 'schema': { 'type': 'integer' },
980 'supported_on': ['chrome.*:17-'], 980 'supported_on': ['chrome.*:17-'],
981 'features': { 981 'features': {
982 'dynamic_refresh': False, 982 'dynamic_refresh': False,
983 'per_profile': False, 983 'per_profile': False,
984 }, 984 },
985 'example_value': 104857600, 985 'example_value': 104857600,
986 'id': 111, 986 'id': 111,
987 'caption': '''Set media disk cache size in bytes''', 987 'caption': '''Set media disk cache size in bytes''',
988 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Go ogle Chrome</ex></ph> will use for storing cached media files on the disk. 988 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Go ogle Chrome</ex></ph> will use for storing cached media files on the disk.
989 989
990 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided cache size regardless whether the user has specified t he '--media-cache-size' flag or not. 990 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided cache size regardless whether the user has specified t he '--media-cache-size' flag or not. The value specified in this policy is not a hard boundary but rather a suggestion to the caching system, any value below a few megabytes is too small and will be rounded up to a sane minimum.
991 991
992 If the value of this policy is 0, the default cache size will be used but the user will not be able to change it. 992 If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
993 993
994 If this policy is not set the default size will be used and the user will be able to override it with the --media-cache-size flag.''', 994 If this policy is not set the default size will be used and the user will be able to override it with the --media-cache-size flag.''',
995 'label': '''Set media disk cache size''', 995 'label': '''Set media disk cache size''',
996 }, 996 },
997 { 997 {
998 'name': 'DownloadDirectory', 998 'name': 'DownloadDirectory',
999 'type': 'string', 999 'type': 'string',
1000 'schema': { 'type': 'string' }, 1000 'schema': { 'type': 'string' },
(...skipping 4885 matching lines...) Expand 10 before | Expand all | Expand 10 after
5886 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5886 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5887 'text': 'deprecated', 5887 'text': 'deprecated',
5888 }, 5888 },
5889 'doc_recommended': { 5889 'doc_recommended': {
5890 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5890 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5891 'text': 'Default Settings (users can override)', 5891 'text': 'Default Settings (users can override)',
5892 }, 5892 },
5893 }, 5893 },
5894 'placeholders': [], 5894 'placeholders': [],
5895 } 5895 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698