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

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

Issue 2736903004: Add sound volume to device attribute reporting (Closed)
Patch Set: Fixed tests (initialize CrasAudioHandler), added sound volume test Created 3 years, 9 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
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 # templates and documentation. The policy definition list that Chrome sees 132 # templates and documentation. The policy definition list that Chrome sees
133 # will include policies marked with 'future'. If a WIP policy isn't meant to 133 # will include policies marked with 'future'. If a WIP policy isn't meant to
134 # be seen by the policy providers either, the 'supported_on' key should be set 134 # be seen by the policy providers either, the 'supported_on' key should be set
135 # to an empty list. 135 # to an empty list.
136 # 136 #
137 # IDs: 137 # IDs:
138 # Since a Protocol Buffer definition is generated from this file, unique and 138 # Since a Protocol Buffer definition is generated from this file, unique and
139 # persistent IDs for all fields (but not for groups!) are needed. These are 139 # persistent IDs for all fields (but not for groups!) are needed. These are
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
141 # because doing so would break the deployed wire format! 141 # because doing so would break the deployed wire format!
142 # For your editing convenience: highest ID currently used: 366 142 # For your editing convenience: highest ID currently used: 367
143 # And don't forget to also update the EnterprisePolicies enum of 143 # And don't forget to also update the EnterprisePolicies enum of
144 # histograms.xml (run tools/metrics/histograms/update_policies.py). 144 # histograms.xml (run tools/metrics/histograms/update_policies.py).
145 # 145 #
146 # Placeholders: 146 # Placeholders:
147 # The following placeholder strings are automatically substituted: 147 # The following placeholder strings are automatically substituted:
148 # $1 -> Google Chrome / Chromium 148 # $1 -> Google Chrome / Chromium
149 # $2 -> Google Chrome OS / Chromium OS 149 # $2 -> Google Chrome OS / Chromium OS
150 # $3 -> Google Chrome Frame / Chromium Frame 150 # $3 -> Google Chrome Frame / Chromium Frame
151 # $6 is reserved for doc_writer 151 # $6 is reserved for doc_writer
152 # 152 #
(...skipping 9457 matching lines...) Expand 10 before | Expand all | Expand 10 after
9610 }, 9610 },
9611 'example_value': [ "xkb:us::en", "xkb:ch::ger" ], 9611 'example_value': [ "xkb:us::en", "xkb:ch::ger" ],
9612 'max_size': 16777216, 9612 'max_size': 16777216,
9613 'id': 365, 9613 'id': 365,
9614 'caption': '''Device sign-in screen keyboard layouts''', 9614 'caption': '''Device sign-in screen keyboard layouts''',
9615 'tags': [], 9615 'tags': [],
9616 'desc': '''Configures which keyboard layouts are allowed on the <ph name=" PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> sign-in screen. 9616 'desc': '''Configures which keyboard layouts are allowed on the <ph name=" PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> sign-in screen.
9617 9617
9618 If this policy is set to a list of input method identifiers, the given inp ut methods will be available on the sign-in screen. The first given input method will be preselected. While a user pod is focused on the sign-in screen, the use r's last used input method will be available in addition to the input methods gi ven by this policy. If this policy is not set, the input methods on the sign-in screen will be derived from the locale in which the sign-in screen is displayed. Values which are not valid input method identifiers will be ignored.''', 9618 If this policy is set to a list of input method identifiers, the given inp ut methods will be available on the sign-in screen. The first given input method will be preselected. While a user pod is focused on the sign-in screen, the use r's last used input method will be available in addition to the input methods gi ven by this policy. If this policy is not set, the input methods on the sign-in screen will be derived from the locale in which the sign-in screen is displayed. Values which are not valid input method identifiers will be ignored.''',
9619 }, 9619 },
9620 {
9621 'name': 'ReportSoundVolume',
9622 'type': 'main',
9623 'schema': { 'type': 'boolean' },
9624 'supported_on': ['chrome_os:58-'],
9625 'device_only': True,
9626 'features': {
9627 'dynamic_refresh': True,
9628 },
9629 'example_value': False,
9630 'id': 367,
9631 'caption': '''Report sound volume''',
9632 'tags': ['admin-sharing'],
9633 'desc': '''Report current sound volume of the device.
9634
9635 If the policy is set to false, the statistics will not be reported.
9636 If set to true or left unset, statistics will be reported.''',
9637 'arc_support': 'This policy has no effect on the logging done by Android.' ,
9638 },
9620 ], 9639 ],
9621 'messages': { 9640 'messages': {
9622 # Messages that are not associated to any policies. 9641 # Messages that are not associated to any policies.
9623 'win_supported_winxpsp2': { 9642 'win_supported_winxpsp2': {
9624 '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:'.''', 9643 '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:'.''',
9625 'text': '''Microsoft Windows XP SP2 or later''' 9644 'text': '''Microsoft Windows XP SP2 or later'''
9626 }, 9645 },
9627 'mac_chrome_preferences': { 9646 'mac_chrome_preferences': {
9628 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9647 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9629 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9648 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
9743 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9762 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9744 'text': 'Default Settings (users can override)', 9763 'text': 'Default Settings (users can override)',
9745 }, 9764 },
9746 'doc_complex_policies_on_windows': { 9765 'doc_complex_policies_on_windows': {
9747 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9766 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9748 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 9767 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
9749 }, 9768 },
9750 }, 9769 },
9751 'placeholders': [], 9770 'placeholders': [],
9752 } 9771 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698