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

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

Issue 9289017: Apply individual policies for the various parts of device status reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Julian's comments. Created 8 years, 11 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.cc » ('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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 120 115 # For your editing convenience: highest ID currently used: 121
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 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after
2301 'supported_on': ['chrome_os:18-'], 2301 'supported_on': ['chrome_os:18-'],
2302 'device_only': True, 2302 'device_only': True,
2303 'features': {'dynamic_refresh': True}, 2303 'features': {'dynamic_refresh': True},
2304 'example_value': False, 2304 'example_value': False,
2305 'id': 120, 2305 'id': 120,
2306 'caption': '''Report device activity times''', 2306 'caption': '''Report device activity times''',
2307 'desc': '''Report device activity times. 2307 'desc': '''Report device activity times.
2308 2308
2309 If this setting is set to True, enrolled devices will report time periods when a user is active on the device. If this setting is not set or set to False, device activity times will not be recorded or reported.''', 2309 If this setting is set to True, enrolled devices will report time periods when a user is active on the device. If this setting is not set or set to False, device activity times will not be recorded or reported.''',
2310 }, 2310 },
2311 {
2312 'name': 'ReportDeviceBootMode',
2313 'type': 'main',
2314 'supported_on': ['chrome_os:18-'],
2315 'device_only': True,
2316 'features': {'dynamic_refresh': True},
2317 'example_value': False,
2318 'id': 121,
2319 'caption': '''Report device boot mode''',
2320 'desc': '''Report the state of the device's dev switch at boot.
2321
2322 If the policy is not set, or set to false, the state of the dev switch wil l not be reported.''',
2323 },
2311 ], 2324 ],
2312 'messages': { 2325 'messages': {
2313 # Messages that are not associated to any policies. 2326 # Messages that are not associated to any policies.
2314 'win_supported_winxpsp2': { 2327 'win_supported_winxpsp2': {
2315 '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:'.''', 2328 '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:'.''',
2316 'text': '''Microsoft Windows XP SP2 or later''' 2329 'text': '''Microsoft Windows XP SP2 or later'''
2317 }, 2330 },
2318 'mac_chrome_preferences': { 2331 'mac_chrome_preferences': {
2319 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 2332 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
2320 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 2333 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
2399 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2412 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2400 'text': 'deprecated', 2413 'text': 'deprecated',
2401 }, 2414 },
2402 'doc_recommended': { 2415 'doc_recommended': {
2403 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2416 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2404 'text': 'Recommended', 2417 'text': 'Recommended',
2405 }, 2418 },
2406 }, 2419 },
2407 'placeholders': [], 2420 'placeholders': [],
2408 } 2421 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698