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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 19462006: Implement fetching, caching and retrieval of external policy data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 4 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
« no previous file with comments | « no previous file | chrome/app/policy/syntax_check_policy_template_json.py » ('j') | 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 12 matching lines...) Expand all
23 # 'string' - a string value 23 # 'string' - a string value
24 # 'int' - an integer value 24 # 'int' - an integer value
25 # 'int-enum' - the user can select an integer value from a collection of 25 # 'int-enum' - the user can select an integer value from a collection of
26 # items 26 # items
27 # 'string-enum' - the user can select a string value from a collection of 27 # 'string-enum' - the user can select a string value from a collection of
28 # items 28 # items
29 # 'main' - a boolean value 29 # 'main' - a boolean value
30 # 'list' - a list of string values 30 # 'list' - a list of string values
31 # 'dict' - a dictionary value, containing other values indexed by strings 31 # 'dict' - a dictionary value, containing other values indexed by strings
32 # NOTE: This type is not supported yet. http://crbug.com/108992 32 # NOTE: This type is not supported yet. http://crbug.com/108992
33 # 'external' - a policy that references external data.
34 # NOTE: This type is not supported yet. http://crbug.com/256635
33 # 35 #
34 # Policy group descriptions, policy captions and similar texts are localized 36 # Policy group descriptions, policy captions and similar texts are localized
35 # strings taken from the <message> nodes of the .grd file. Their name 37 # strings taken from the <message> nodes of the .grd file. Their name
36 # attributes are generated from the JSON keys. 38 # attributes are generated from the JSON keys.
37 # Each item (policy or group) may have the following messages: 39 # Each item (policy or group) may have the following messages:
38 # - description: 40 # - description:
39 # Describes the item it applies to. 41 # Describes the item it applies to.
40 # - caption 42 # - caption
41 # A short, one-line summary of the item it applies to. This can appear 43 # A short, one-line summary of the item it applies to. This can appear
42 # both in policy or group listings or on title bars of policy-setting 44 # both in policy or group listings or on title bars of policy-setting
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 # Annotations: 94 # Annotations:
93 # Additional information is specified under keys 'features' and 95 # Additional information is specified under keys 'features' and
94 # 'example_value'. These are used in the generated documentation and example 96 # 'example_value'. These are used in the generated documentation and example
95 # policy configuration files. 'dynamic_refresh' controls if the generated 97 # policy configuration files. 'dynamic_refresh' controls if the generated
96 # documentation should state that the policy supports dynamic refresh or not. 98 # documentation should state that the policy supports dynamic refresh or not.
97 # Supporting dynamic refresh means that Chrome respects the changes to the 99 # Supporting dynamic refresh means that Chrome respects the changes to the
98 # policy immediately, without the need for restart. 100 # policy immediately, without the need for restart.
99 # 'can_be_recommended' can be set to True to include that policy in the 101 # 'can_be_recommended' can be set to True to include that policy in the
100 # recommended policies templates. This only affects the template generation; 102 # recommended policies templates. This only affects the template generation;
101 # all policies can be at the recommended level. The default is False. 103 # all policies can be at the recommended level. The default is False.
104 # 'max_size' specifies the maximal size of the external data that a policy can
105 # reference, in bytes. This annotation is compulsory for policies of type
106 # 'external'. It is ignored for all other policy types.
102 # 107 #
103 # The 'future' key is used to indicate that a policy isn't yet ready for 108 # The 'future' key is used to indicate that a policy isn't yet ready for
104 # usage. It defaults to False, and currently affects the generated policy 109 # usage. It defaults to False, and currently affects the generated policy
105 # templates and documentation. The policy definition list that Chrome sees 110 # templates and documentation. The policy definition list that Chrome sees
106 # will include policies marked with 'future'. If a WIP policy isn't meant to 111 # will include policies marked with 'future'. If a WIP policy isn't meant to
107 # be seen by the policy providers either, the 'supported_on' key should be set 112 # be seen by the policy providers either, the 'supported_on' key should be set
108 # to an empty list. 113 # to an empty list.
109 # 114 #
110 # IDs: 115 # IDs:
111 # Since a Protocol Buffer definition is generated from this file, unique and 116 # Since a Protocol Buffer definition is generated from this file, unique and
(...skipping 5396 matching lines...) Expand 10 before | Expand all | Expand 10 after
5508 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5513 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5509 'text': 'deprecated', 5514 'text': 'deprecated',
5510 }, 5515 },
5511 'doc_recommended': { 5516 'doc_recommended': {
5512 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5517 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5513 'text': 'Default Settings (users can override)', 5518 'text': 'Default Settings (users can override)',
5514 }, 5519 },
5515 }, 5520 },
5516 'placeholders': [], 5521 'placeholders': [],
5517 } 5522 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/policy/syntax_check_policy_template_json.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698