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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 426063005: Allow recommended locales to be set for public sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix buffer overflow in test. Created 6 years, 4 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 | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 # templates and documentation. The policy definition list that Chrome sees 113 # templates and documentation. The policy definition list that Chrome sees
114 # will include policies marked with 'future'. If a WIP policy isn't meant to 114 # will include policies marked with 'future'. If a WIP policy isn't meant to
115 # be seen by the policy providers either, the 'supported_on' key should be set 115 # be seen by the policy providers either, the 'supported_on' key should be set
116 # to an empty list. 116 # to an empty list.
117 # 117 #
118 # IDs: 118 # IDs:
119 # Since a Protocol Buffer definition is generated from this file, unique and 119 # Since a Protocol Buffer definition is generated from this file, unique and
120 # persistent IDs for all fields (but not for groups!) are needed. These are 120 # persistent IDs for all fields (but not for groups!) are needed. These are
121 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 121 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
122 # because doing so would break the deployed wire format! 122 # because doing so would break the deployed wire format!
123 # For your editing convenience: highest ID currently used: 273 123 # For your editing convenience: highest ID currently used: 274
124 # 124 #
125 # Placeholders: 125 # Placeholders:
126 # The following placeholder strings are automatically substituted: 126 # The following placeholder strings are automatically substituted:
127 # $1 -> Google Chrome / Chromium 127 # $1 -> Google Chrome / Chromium
128 # $2 -> Google Chrome OS / Chromium OS 128 # $2 -> Google Chrome OS / Chromium OS
129 # $3 -> Google Chrome Frame / Chromium Frame 129 # $3 -> Google Chrome Frame / Chromium Frame
130 # $6 is reserved for doc_writer 130 # $6 is reserved for doc_writer
131 # 131 #
132 # Device Policy: 132 # Device Policy:
133 # An additional flag device_only (optional, defaults to False) indicates 133 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 6472 matching lines...) Expand 10 before | Expand all | Expand 10 after
6606 'caption': '''Allows EasyUnlock to be used''', 6606 'caption': '''Allows EasyUnlock to be used''',
6607 'desc': '''Allows EasyUnlock to be used on <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> devices. 6607 'desc': '''Allows EasyUnlock to be used on <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> devices.
6608 6608
6609 If you enable this setting, users will be allowed to use EasyUnlock if the requirements for the feature are satified. 6609 If you enable this setting, users will be allowed to use EasyUnlock if the requirements for the feature are satified.
6610 6610
6611 If you disable this setting, users will not be allowed to use EasyUnlock. 6611 If you disable this setting, users will not be allowed to use EasyUnlock.
6612 6612
6613 If this policy is left not set, EasyUnlock is allowed if the requirements for the feature are satified. 6613 If this policy is left not set, EasyUnlock is allowed if the requirements for the feature are satified.
6614 ''', 6614 ''',
6615 }, 6615 },
6616 {
6617 'name': 'SessionLocales',
6618 'type': 'list',
6619 'schema': {
6620 'type': 'array',
6621 'items': { 'type': 'string' },
6622 },
6623 'supported_on': ['chrome_os:38-'],
6624 'features': {
6625 'can_be_recommended': True,
6626 'dynamic_refresh': True,
6627 'per_profile': True,
6628 },
6629 'example_value': ['de', 'fr'],
6630 'id': 274,
6631 'caption': '''Set the recommended locales for a public session''',
6632 'desc': '''Sets one or more recommended locales for a public sessions, all owing users to easily choose one of these locales.
6633
6634 The user can choose a locale and a keyboard layout before starting a publi c session. By default, all locales supported by <ph name="PRODUCT_OS_NAME">$2<ex >Google Chrome OS</ex></ph> are listed in alphabetic order. You can use this pol icy to move a set of recommended locales to the top of the list.
6635
6636 If this policy is not set, the current UI locale will be pre-selected.
6637
6638 If this policy is set, the recommended locales will be moved to the top of the list and will be visually separated from all other locales. The recommended locales will be listed in the order in which they appear in the policy. The fir st recommended locale will be pre-selected.
6639
6640 If there is more than one recommended locale, it is assumed that users wil l want to select among these locales. Locale and keyboard layout selection will be prominently offered when starting a public session. Otherwise, it is assumed that most users will want to use the pre-selected locale. Locale and keyboard la yout selection will be less prominently offered when starting a public session.
6641
6642 When this policy is set and automatic login is enabled (see the |DeviceLoc alAccountAutoLoginId| and |DeviceLocalAccountAutoLoginDelay| policies), the auto matically started public session will use the first recommended locale and the m ost popular keyboard layout matching this locale.
6643
6644 The pre-selected keyboard layout will always be the most popular layout ma tching the pre-selected locale.
6645
6646 This policy can only be set as recommended. You can use this policy to mov e a set of recommended locales to the top but users are always allowed to choose any locale supported by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex>< /ph> for their session.
6647 ''',
6648 },
6649
6616 ], 6650 ],
6617 'messages': { 6651 'messages': {
6618 # Messages that are not associated to any policies. 6652 # Messages that are not associated to any policies.
6619 'win_supported_winxpsp2': { 6653 'win_supported_winxpsp2': {
6620 '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:'.''', 6654 '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:'.''',
6621 'text': '''Microsoft Windows XP SP2 or later''' 6655 'text': '''Microsoft Windows XP SP2 or later'''
6622 }, 6656 },
6623 'mac_chrome_preferences': { 6657 'mac_chrome_preferences': {
6624 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 6658 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
6625 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 6659 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
6722 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6756 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6723 'text': 'deprecated', 6757 'text': 'deprecated',
6724 }, 6758 },
6725 'doc_recommended': { 6759 'doc_recommended': {
6726 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6760 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6727 'text': 'Default Settings (users can override)', 6761 'text': 'Default Settings (users can override)',
6728 }, 6762 },
6729 }, 6763 },
6730 'placeholders': [], 6764 'placeholders': [],
6731 } 6765 }
OLDNEW
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698