OLD | NEW |
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 Loading... |
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: 144 | 115 # For your editing convenience: highest ID currently used: 146 |
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 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2576 | 2576 |
2577 Specifies the prefix of a target version <ph name="PRODUCT_OS_NAME">$2<ex>
Google Chrome OS</ex></ph> should update to. If the device is running a version
that's before the specified prefix, it will update to the latest version with th
e given prefix. If the device is already on a later version, there is no effect
(i.e. no downgrades are performed) and the device will remain on the current ver
sion. The prefix format works component-wise as is demonstrated in the following
example: | 2577 Specifies the prefix of a target version <ph name="PRODUCT_OS_NAME">$2<ex>
Google Chrome OS</ex></ph> should update to. If the device is running a version
that's before the specified prefix, it will update to the latest version with th
e given prefix. If the device is already on a later version, there is no effect
(i.e. no downgrades are performed) and the device will remain on the current ver
sion. The prefix format works component-wise as is demonstrated in the following
example: |
2578 | 2578 |
2579 "" (or not configured): update to latest version available. | 2579 "" (or not configured): update to latest version available. |
2580 "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2
) | 2580 "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2
) |
2581 "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2
.2) | 2581 "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2
.2) |
2582 "1412.24.34": update to this specific version only | 2582 "1412.24.34": update to this specific version only |
2583 ''' | 2583 ''' |
2584 }, | 2584 }, |
2585 { | 2585 { |
| 2586 'name': 'DeviceUpdateScatterFactor', |
| 2587 'type': 'int', |
| 2588 'supported_on': ['chrome_os:20-'], |
| 2589 'device_only': True, |
| 2590 'features': {'dynamic_refresh': True}, |
| 2591 'example_value': 7200, |
| 2592 'id': 145, |
| 2593 'caption': '''Auto update scatter factor''', |
| 2594 'desc': '''Specifies the number of seconds up to which a device may random
ly delay its download of an update from the time the update was first pushed out
to the server. The device may wait a portion of this time in terms of wall-cloc
k-time and the remaining portion in terms of the number of update checks. In any
case, the scatter is upper bounded to a constant amount of time so that a devic
e does not ever get stuck waiting to download an update forever.''' |
| 2595 }, |
| 2596 { |
| 2597 'name': 'DeviceUpdateAllowedConnectionTypes', |
| 2598 'type': 'list', |
| 2599 'supported_on': ['chrome_os:21-'], |
| 2600 'device_only': True, |
| 2601 'features': {'dynamic_refresh': True}, |
| 2602 'example_value': [ 'ethernet' ], |
| 2603 'id': 146, |
| 2604 'caption': '''Connection types allowed for updates''', |
| 2605 'desc': ''' The types of connections that are OK to use for OS updates. OS
updates potentially put heavy strain on the connection due to their size and ma
y incur additional cost. Therefore, they are by default not enabled for connecti
on types that are considered expensive, which include WiMax, Bluetooth and Cellu
lar at the moment. |
| 2606 |
| 2607 The recognized connection type identifiers are ethernet, wifi, wimax, blue
tooth, cellular. |
| 2608 ''' |
| 2609 }, |
| 2610 { |
2586 'name': 'BackgroundModeEnabled', | 2611 'name': 'BackgroundModeEnabled', |
2587 'type': 'main', | 2612 'type': 'main', |
2588 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], | 2613 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], |
2589 'features': { | 2614 'features': { |
2590 'dynamic_refresh': True, | 2615 'dynamic_refresh': True, |
2591 'can_be_recommended': True, | 2616 'can_be_recommended': True, |
2592 }, | 2617 }, |
2593 'example_value': True, | 2618 'example_value': True, |
2594 'id': 138, | 2619 'id': 138, |
2595 'caption': '''Continue running background apps when <ph name="PRODUCT_NAME
">$1<ex>Google Chrome</ex></ph> is closed''', | 2620 'caption': '''Continue running background apps when <ph name="PRODUCT_NAME
">$1<ex>Google Chrome</ex></ph> is closed''', |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2745 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 2770 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
2746 'text': 'deprecated', | 2771 'text': 'deprecated', |
2747 }, | 2772 }, |
2748 'doc_recommended': { | 2773 'doc_recommended': { |
2749 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 2774 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
2750 'text': 'Recommended', | 2775 'text': 'Recommended', |
2751 }, | 2776 }, |
2752 }, | 2777 }, |
2753 'placeholders': [], | 2778 'placeholders': [], |
2754 } | 2779 } |
OLD | NEW |