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

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

Issue 23672033: ChromeOS: Add p2p_enabled field to AutoUpdateSettingsProto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated patch Created 7 years, 3 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 | « 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 # templates and documentation. The policy definition list that Chrome sees 110 # templates and documentation. The policy definition list that Chrome sees
111 # 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
112 # 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
113 # to an empty list. 113 # to an empty list.
114 # 114 #
115 # IDs: 115 # IDs:
116 # 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
117 # persistent IDs for all fields (but not for groups!) are needed. These are 117 # persistent IDs for all fields (but not for groups!) are needed. These are
118 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 118 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
119 # because doing so would break the deployed wire format! 119 # because doing so would break the deployed wire format!
120 # For your editing convenience: highest ID currently used: 241 120 # For your editing convenience: highest ID currently used: 242
121 # 121 #
122 # Placeholders: 122 # Placeholders:
123 # The following placeholder strings are automatically substituted: 123 # The following placeholder strings are automatically substituted:
124 # $1 -> Google Chrome / Chromium 124 # $1 -> Google Chrome / Chromium
125 # $2 -> Google Chrome OS / Chromium OS 125 # $2 -> Google Chrome OS / Chromium OS
126 # $3 -> Google Chrome Frame / Chromium Frame 126 # $3 -> Google Chrome Frame / Chromium Frame
127 # $6 is reserved for doc_writer 127 # $6 is reserved for doc_writer
128 # 128 #
129 # Device Policy: 129 # Device Policy:
130 # An additional flag device_only (optional, defaults to False) indicates 130 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 3529 matching lines...) Expand 10 before | Expand all | Expand 10 after
3660 'dynamic_refresh': True, 3660 'dynamic_refresh': True,
3661 }, 3661 },
3662 'example_value': True, 3662 'example_value': True,
3663 'id': 136, 3663 'id': 136,
3664 'caption': '''Disables Auto Update''', 3664 'caption': '''Disables Auto Update''',
3665 'desc': '''Disables automatic updates when set to True. 3665 'desc': '''Disables automatic updates when set to True.
3666 3666
3667 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices automa tically check for updates when this setting is not configured or set to False.'' ', 3667 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices automa tically check for updates when this setting is not configured or set to False.'' ',
3668 }, 3668 },
3669 { 3669 {
3670 'name': 'DeviceAutoUpdateP2PEnabled',
3671 'type': 'main',
3672 'schema': { 'type': 'boolean' },
3673 'supported_on': ['chrome_os:31-'],
3674 'device_only': True,
3675 'features': {
3676 'dynamic_refresh': True,
3677 },
3678 'example_value': False,
3679 'id': 242,
3680 'caption': '''Auto update p2p enabled''',
3681 'desc': '''Specifies whether p2p is to be used for OS update payloads. If set to True, devices will share and consume update payloads on the LAN, potentia lly reducing Internet bandwidth usage and congestion.''',
Joao da Silva 2013/09/11 18:48:00 Please document the default behavior, and the beha
zeuthen 2013/09/11 19:07:20 Correct. I'm also adding "If the update payload is
3682 },
3683 {
3670 'name': 'DeviceTargetVersionPrefix', 3684 'name': 'DeviceTargetVersionPrefix',
3671 'type': 'string', 3685 'type': 'string',
3672 'schema': { 'type': 'string' }, 3686 'schema': { 'type': 'string' },
3673 'supported_on': ['chrome_os:19-'], 3687 'supported_on': ['chrome_os:19-'],
3674 'device_only': True, 3688 'device_only': True,
3675 'features': { 3689 'features': {
3676 'dynamic_refresh': True, 3690 'dynamic_refresh': True,
3677 }, 3691 },
3678 'example_value': '1412.', 3692 'example_value': '1412.',
3679 'id': 142, 3693 'id': 142,
(...skipping 1966 matching lines...) Expand 10 before | Expand all | Expand 10 after
5646 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5660 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5647 'text': 'deprecated', 5661 'text': 'deprecated',
5648 }, 5662 },
5649 'doc_recommended': { 5663 'doc_recommended': {
5650 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5664 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5651 'text': 'Default Settings (users can override)', 5665 'text': 'Default Settings (users can override)',
5652 }, 5666 },
5653 }, 5667 },
5654 'placeholders': [], 5668 'placeholders': [],
5655 } 5669 }
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