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

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

Issue 7287001: Add a device policy for specifying the release channel. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change inconsistent wording in policy template. Created 9 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/cros_settings_names.h » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # policy configuration files. 'dynamic_refresh' controls if the generated 87 # policy configuration files. 'dynamic_refresh' controls if the generated
88 # documentation should state that the policy supports dynamic refresh or not. 88 # documentation should state that the policy supports dynamic refresh or not.
89 # Supporting dynamic refresh means that Chrome respects the changes to the 89 # Supporting dynamic refresh means that Chrome respects the changes to the
90 # policy immediately, without the need for restart. 90 # policy immediately, without the need for restart.
91 # 91 #
92 # IDs: 92 # IDs:
93 # Since a Protocol Buffer definition is generated from this file, unique and 93 # Since a Protocol Buffer definition is generated from this file, unique and
94 # persistent IDs for all fields (but not for groups!) are needed. These are 94 # persistent IDs for all fields (but not for groups!) are needed. These are
95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
96 # because doing so would break the deployed wire format! 96 # because doing so would break the deployed wire format!
97 # For your editing convenience: highest ID currently used: 90 97 # For your editing convenience: highest ID currently used: 91
98 # 98 #
99 # Placeholders: 99 # Placeholders:
100 # The following placeholder strings are automatically substituted: 100 # The following placeholder strings are automatically substituted:
101 # $1 -> Google Chrome / Chromium 101 # $1 -> Google Chrome / Chromium
102 # $2 -> Google Chrome OS / Chromium OS 102 # $2 -> Google Chrome OS / Chromium OS
103 # $3 -> Google Chrome Frame / Chromium Frame 103 # $3 -> Google Chrome Frame / Chromium Frame
104 # $6 is reserved for doc_writer 104 # $6 is reserved for doc_writer
105 # 105 #
106 # Device Policy: 106 # Device Policy:
107 # An additional flag device_only (optional, defaults to False) indicates 107 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1558 'supported_on': ['chrome_os:1.0-'], 1558 'supported_on': ['chrome_os:1.0-'],
1559 'device_only': True, 1559 'device_only': True,
1560 'features': {'dynamic_refresh': 1}, 1560 'features': {'dynamic_refresh': 1},
1561 'example_value': 3600000, 1561 'example_value': 3600000,
1562 'id': 90, 1562 'id': 90,
1563 'caption': '''Refresh rate for Device Policy''', 1563 'caption': '''Refresh rate for Device Policy''',
1564 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information. 1564 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information.
1565 1565
1566 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). A ny values not in this range will be clamped to the respective boundary.''', 1566 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). A ny values not in this range will be clamped to the respective boundary.''',
1567 }, 1567 },
1568 {
1569 'name': 'ChromeOsReleaseChannel',
1570 'type': 'string-enum',
1571 'items': [
1572 {
1573 'name': 'Stable',
1574 'value': 'stable-channel',
1575 'caption': '''Stable channel'''
1576 },
1577 {
1578 'name': 'Beta',
1579 'value': 'beta-channel',
1580 'caption': '''Beta channel'''
1581 },
1582 {
1583 'name': 'Dev - Unstable',
1584 'value': 'dev-channel',
1585 'caption': '''Dev channel (may be unstable)'''
1586 }
1587 ],
1588 'supported_on': ['chrome_os:1.0-'],
1589 'device_only': True,
1590 'features': {'dynamic_refresh': 1},
1591 'example_value': 'stable-channel',
1592 'id': 91,
1593 'caption': '''Release channel''',
1594 'desc': '''Specifies the release channel that this device should be locked to. This policy is a work in progress; currently, the user can still change the release channel even if it's specified by the policy.'''
1595 },
1568 1596
1569 ], 1597 ],
1570 'messages': { 1598 'messages': {
1571 # Messages that are not associated to any policies. 1599 # Messages that are not associated to any policies.
1572 'win_supported_winxpsp2': { 1600 'win_supported_winxpsp2': {
1573 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 1601 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
1574 'text': '''Microsoft Windows XP SP2 or later''' 1602 'text': '''Microsoft Windows XP SP2 or later'''
1575 }, 1603 },
1576 'mac_chrome_preferences': { 1604 'mac_chrome_preferences': {
1577 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 1605 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1677 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1650 'text': '''Dynamic Policy Refresh''' 1678 'text': '''Dynamic Policy Refresh'''
1651 }, 1679 },
1652 'doc_deprecated': { 1680 'doc_deprecated': {
1653 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1681 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1654 'text': 'deprecated', 1682 'text': 'deprecated',
1655 } 1683 }
1656 }, 1684 },
1657 'placeholders': [], 1685 'placeholders': [],
1658 } 1686 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698