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

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

Issue 18348016: If requested, report network interfaces to management server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Finishing touches. Created 7 years, 5 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/browser/chromeos/policy/device_policy_decoder_chromeos.cc » ('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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # templates and documentation. The policy definition list that Chrome sees 105 # 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 106 # 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 107 # be seen by the policy providers either, the 'supported_on' key should be set
108 # to an empty list. 108 # to an empty list.
109 # 109 #
110 # IDs: 110 # IDs:
111 # Since a Protocol Buffer definition is generated from this file, unique and 111 # Since a Protocol Buffer definition is generated from this file, unique and
112 # persistent IDs for all fields (but not for groups!) are needed. These are 112 # persistent IDs for all fields (but not for groups!) are needed. These are
113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
114 # because doing so would break the deployed wire format! 114 # because doing so would break the deployed wire format!
115 # For your editing convenience: highest ID currently used: 223 115 # For your editing convenience: highest ID currently used: 224
116 # 116 #
117 # Placeholders: 117 # Placeholders:
118 # The following placeholder strings are automatically substituted: 118 # The following placeholder strings are automatically substituted:
119 # $1 -> Google Chrome / Chromium 119 # $1 -> Google Chrome / Chromium
120 # $2 -> Google Chrome OS / Chromium OS 120 # $2 -> Google Chrome OS / Chromium OS
121 # $3 -> Google Chrome Frame / Chromium Frame 121 # $3 -> Google Chrome Frame / Chromium Frame
122 # $6 is reserved for doc_writer 122 # $6 is reserved for doc_writer
123 # 123 #
124 # Device Policy: 124 # Device Policy:
125 # An additional flag device_only (optional, defaults to False) indicates 125 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 3051 matching lines...) Expand 10 before | Expand all | Expand 10 after
3177 }, 3177 },
3178 'future': True, 3178 'future': True,
3179 'example_value': False, 3179 'example_value': False,
3180 'id': 143, 3180 'id': 143,
3181 'caption': '''Report device location''', 3181 'caption': '''Report device location''',
3182 'desc': '''Report the geographic location of the device. 3182 'desc': '''Report the geographic location of the device.
3183 3183
3184 If the policy is not set, or set to false, the location will not be report ed.''', 3184 If the policy is not set, or set to false, the location will not be report ed.''',
3185 }, 3185 },
3186 { 3186 {
3187 'name': 'ReportDeviceNetworkInterfaces',
3188 'type': 'main',
3189 'schema': { 'type': 'boolean' },
3190 'supported_on': ['chrome_os:29-'],
3191 'device_only': True,
3192 'features': {
3193 'dynamic_refresh': True,
3194 },
3195 'example_value': False,
3196 'id': 224,
3197 'caption': '''Report device network interfaces''',
3198 'desc': '''Report list of network interfaces with their types and hardware addresses to the server.
3199
3200 If the policy is not set, or set to false, the interface list will not be reported.''',
3201 },
3202 {
3187 'name': 'DeviceUserWhitelist', 3203 'name': 'DeviceUserWhitelist',
3188 'type': 'list', 3204 'type': 'list',
3189 'schema': { 3205 'schema': {
3190 'type': 'array', 3206 'type': 'array',
3191 'items': { 'type': 'string' }, 3207 'items': { 'type': 'string' },
3192 }, 3208 },
3193 'supported_on': ['chrome_os:12-'], 3209 'supported_on': ['chrome_os:12-'],
3194 'device_only': True, 3210 'device_only': True,
3195 'features': { 3211 'features': {
3196 'dynamic_refresh': True, 3212 'dynamic_refresh': True,
(...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after
5188 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5204 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5189 'text': 'deprecated', 5205 'text': 'deprecated',
5190 }, 5206 },
5191 'doc_recommended': { 5207 'doc_recommended': {
5192 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5208 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5193 'text': 'Default Settings (users can override)', 5209 'text': 'Default Settings (users can override)',
5194 }, 5210 },
5195 }, 5211 },
5196 'placeholders': [], 5212 'placeholders': [],
5197 } 5213 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698