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

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: Fix indent issue. 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
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',
gfeher 2011/06/30 12:49:28 Nit: please make this as a 'string-enum', there ar
Patrick Dubroy 2011/06/30 14:28:39 Done.
1571 'supported_on': ['chrome_os:1.0-'],
1572 'device_only': True,
1573 'features': {'dynamic_refresh': 1},
1574 'example_value': 'stable',
1575 'id': 91,
1576 'caption': '''Release channel''',
1577 'desc': '''Specifies the release channel that this device should be locked to: one of 'stable', 'beta', or 'dev'.'''
gfeher 2011/06/30 12:49:28 Please add a comment explaining that this is a wor
Patrick Dubroy 2011/06/30 14:28:39 Done.
1578 },
1568 1579
1569 ], 1580 ],
1570 'messages': { 1581 'messages': {
1571 # Messages that are not associated to any policies. 1582 # Messages that are not associated to any policies.
1572 'win_supported_winxpsp2': { 1583 '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:'.''', 1584 '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''' 1585 'text': '''Microsoft Windows XP SP2 or later'''
1575 }, 1586 },
1576 'mac_chrome_preferences': { 1587 'mac_chrome_preferences': {
1577 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 1588 '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''', 1660 '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''' 1661 'text': '''Dynamic Policy Refresh'''
1651 }, 1662 },
1652 'doc_deprecated': { 1663 'doc_deprecated': {
1653 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1664 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1654 'text': 'deprecated', 1665 'text': 'deprecated',
1655 } 1666 }
1656 }, 1667 },
1657 'placeholders': [], 1668 'placeholders': [],
1658 } 1669 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings_names.h » ('j') | chrome/browser/chromeos/cros_settings_names.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698