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

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

Issue 23460030: Clean up device policy definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.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: 242 120 # For your editing convenience: highest ID currently used: 243
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 3597 matching lines...) Expand 10 before | Expand all | Expand 10 after
3728 'dynamic_refresh': True, 3728 'dynamic_refresh': True,
3729 }, 3729 },
3730 'example_value': [ 'ethernet' ], 3730 'example_value': [ 'ethernet' ],
3731 'id': 146, 3731 'id': 146,
3732 'caption': '''Connection types allowed for updates''', 3732 'caption': '''Connection types allowed for updates''',
3733 'desc': ''' The types of connections that are allowed to use for OS update s. OS updates potentially put heavy strain on the connection due to their size a nd may incur additional cost. Therefore, they are by default not enabled for con nection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment. 3733 'desc': ''' The types of connections that are allowed to use for OS update s. OS updates potentially put heavy strain on the connection due to their size a nd may incur additional cost. Therefore, they are by default not enabled for con nection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment.
3734 3734
3735 The recognized connection type identifiers are "ethernet", "wifi", "wimax" , "bluetooth" and "cellular".''', 3735 The recognized connection type identifiers are "ethernet", "wifi", "wimax" , "bluetooth" and "cellular".''',
3736 }, 3736 },
3737 { 3737 {
3738 'name': 'DeviceUpdateHttpDownloadsEnabled',
3739 'type': 'main',
3740 'schema': {
3741 'type': 'boolean',
3742 },
3743 'supported_on': ['chrome_os:29-'],
3744 'device_only': True,
3745 'features': {
3746 'dynamic_refresh': True,
3747 },
3748 'example_value': True,
3749 'id': 243,
3750 'caption': '''Allow autoupdate downloads via HTTP''',
3751 'desc': '''Auto-update payloads on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can be downloaded via HTTP instead of HTTPS. This allowes t ransparent HTTP caching of HTTP downloads.
3752
3753 If this policy is set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chr ome OS</ex></ph> will attempt to download auto-update payloads via HTTP. If the policy is set to false or not set, HTTPS will be used for downloading auto-updat e payloads.''',
3754 },
3755 {
3738 'name': 'DeviceLocalAccounts', 3756 'name': 'DeviceLocalAccounts',
3739 'type': 'list', 3757 'type': 'list',
3740 'schema': { 3758 'schema': {
3741 'type': 'array', 3759 'type': 'array',
3742 'items': { 'type': 'string' }, 3760 'items': { 'type': 'string' },
3743 }, 3761 },
3744 'supported_on': ['chrome_os:0.25-'], 3762 'supported_on': ['chrome_os:0.25-'],
3745 'device_only': True, 3763 'device_only': True,
3746 'future': True, 3764 'future': True,
3747 'features': { 3765 'features': {
(...skipping 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after
5663 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5681 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5664 'text': 'deprecated', 5682 'text': 'deprecated',
5665 }, 5683 },
5666 'doc_recommended': { 5684 'doc_recommended': {
5667 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5685 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5668 'text': 'Default Settings (users can override)', 5686 'text': 'Default Settings (users can override)',
5669 }, 5687 },
5670 }, 5688 },
5671 'placeholders': [], 5689 'placeholders': [],
5672 } 5690 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698