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

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

Issue 1280003004: Added policy to disable/enable a system log upload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build to pass browser and unit tests. Created 5 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
« no previous file with comments | « chromeos/settings/cros_settings_names.cc ('k') | tools/metrics/histograms/histograms.xml » ('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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 # templates and documentation. The policy definition list that Chrome sees 116 # templates and documentation. The policy definition list that Chrome sees
117 # will include policies marked with 'future'. If a WIP policy isn't meant to 117 # will include policies marked with 'future'. If a WIP policy isn't meant to
118 # be seen by the policy providers either, the 'supported_on' key should be set 118 # be seen by the policy providers either, the 'supported_on' key should be set
119 # to an empty list. 119 # to an empty list.
120 # 120 #
121 # IDs: 121 # IDs:
122 # Since a Protocol Buffer definition is generated from this file, unique and 122 # Since a Protocol Buffer definition is generated from this file, unique and
123 # persistent IDs for all fields (but not for groups!) are needed. These are 123 # persistent IDs for all fields (but not for groups!) are needed. These are
124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
125 # because doing so would break the deployed wire format! 125 # because doing so would break the deployed wire format!
126 # For your editing convenience: highest ID currently used: 305 126 # For your editing convenience: highest ID currently used: 306
127 # 127 #
128 # Placeholders: 128 # Placeholders:
129 # The following placeholder strings are automatically substituted: 129 # The following placeholder strings are automatically substituted:
130 # $1 -> Google Chrome / Chromium 130 # $1 -> Google Chrome / Chromium
131 # $2 -> Google Chrome OS / Chromium OS 131 # $2 -> Google Chrome OS / Chromium OS
132 # $3 -> Google Chrome Frame / Chromium Frame 132 # $3 -> Google Chrome Frame / Chromium Frame
133 # $6 is reserved for doc_writer 133 # $6 is reserved for doc_writer
134 # 134 #
135 # Device Policy: 135 # Device Policy:
136 # An additional flag device_only (optional, defaults to False) indicates 136 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 4251 matching lines...) Expand 10 before | Expand all | Expand 10 after
4388 'example_value': 180000, 4388 'example_value': 180000,
4389 'id': 294, 4389 'id': 294,
4390 'caption': '''Frequency of monitoring heartbeats''', 4390 'caption': '''Frequency of monitoring heartbeats''',
4391 'desc': '''How frequently monitoring heartbeats are sent, in milliseconds. 4391 'desc': '''How frequently monitoring heartbeats are sent, in milliseconds.
4392 4392
4393 If this policy is unset, the default frequency is 3 minutes. The minimum 4393 If this policy is unset, the default frequency is 3 minutes. The minimum
4394 frequency is 30 seconds and the maximum frequency is 24 hours - values 4394 frequency is 30 seconds and the maximum frequency is 24 hours - values
4395 outside of this range will be clamped to this range.''', 4395 outside of this range will be clamped to this range.''',
4396 }, 4396 },
4397 { 4397 {
4398 'name': 'LogUploadEnabled',
4399 'type': 'main',
4400 'schema': { 'type': 'boolean' },
4401 'supported_on': ['chrome_os:46-'],
4402 'device_only': True,
4403 'features': {
4404 'dynamic_refresh': True,
4405 },
4406 'example_value': False,
4407 'id': 306,
4408 'caption': '''Send system logs to the management server''',
4409 'desc': '''Send system logs to the management server, to allow
4410 admins to monitor system logs.
4411
4412 If this policy is set to true, system logs will be sent. If set
4413 to false or unset, then no system logs will be sent.''',
4414 },
4415 {
4398 'name': 'DeviceUserWhitelist', 4416 'name': 'DeviceUserWhitelist',
4399 'type': 'list', 4417 'type': 'list',
4400 'schema': { 4418 'schema': {
4401 'type': 'array', 4419 'type': 'array',
4402 'items': { 'type': 'string' }, 4420 'items': { 'type': 'string' },
4403 }, 4421 },
4404 'supported_on': ['chrome_os:12-'], 4422 'supported_on': ['chrome_os:12-'],
4405 'device_only': True, 4423 'device_only': True,
4406 'features': { 4424 'features': {
4407 'dynamic_refresh': True, 4425 'dynamic_refresh': True,
(...skipping 3161 matching lines...) Expand 10 before | Expand all | Expand 10 after
7569 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 7587 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
7570 'text': 'Default Settings (users can override)', 7588 'text': 'Default Settings (users can override)',
7571 }, 7589 },
7572 'doc_complex_policies_on_windows': { 7590 'doc_complex_policies_on_windows': {
7573 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 7591 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
7574 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , 7592 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' ,
7575 }, 7593 },
7576 }, 7594 },
7577 'placeholders': [], 7595 'placeholders': [],
7578 } 7596 }
OLDNEW
« no previous file with comments | « chromeos/settings/cros_settings_names.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698