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

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

Issue 12147004: Disable/enable echo for enterprise device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add the missing SendResponse call to the async extension method. Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/echo_private_api.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 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: 184 115 # For your editing convenience: highest ID currently used: 185
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 4073 matching lines...) Expand 10 before | Expand all | Expand 10 after
4199 'desc': '''Specifies the percentage by which the idle delay is scaled when the device is in presentation node. 4199 'desc': '''Specifies the percentage by which the idle delay is scaled when the device is in presentation node.
4200 4200
4201 If this policy is set, it specifies the percentage by which the idle d elay is scaled when the device is in presentation mode. When the idle delay is s caled, the screen dimming, screen off and screen lock delays get adjusted to mai ntain the same distances from the idle delay as originally configured. 4201 If this policy is set, it specifies the percentage by which the idle d elay is scaled when the device is in presentation mode. When the idle delay is s caled, the screen dimming, screen off and screen lock delays get adjusted to mai ntain the same distances from the idle delay as originally configured.
4202 4202
4203 If this policy is unset, a default scale factor is used. 4203 If this policy is unset, a default scale factor is used.
4204 4204
4205 The scale factor must be 100% or more. Values that would make the idle delay in presentation mode shorter than the regular idle delay are not allowed. ''', 4205 The scale factor must be 100% or more. Values that would make the idle delay in presentation mode shorter than the regular idle delay are not allowed. ''',
4206 }, 4206 },
4207 ], 4207 ],
4208 }, 4208 },
4209 {
4210 'name': 'DeviceAllowRedeemChromeOsRegistrationOffers',
4211 'type': 'main',
4212 'schema': { 'type': 'boolean' },
4213 'supported_on': ['chrome_os:26-'],
4214 'device_only': True,
4215 'features': {
4216 'dynamic_refresh': True,
4217 },
4218 'example_value': True,
4219 'id': 185,
4220 'caption': '''Allow users to redeem offers through Chrome OS Registration. ''',
4221 'desc': '''IT admins for enterprise devices can use this flag to controll whether to allow users to redeem offers through Chrome OS Registration.
4222
4223 If this policy is set to true or left not set, users will be able to redee m offers through Chrome OS Registration.
4224
4225 If this policy is set to false, user will not be able to redeem offers.''' ,
4226 },
4209 ], 4227 ],
4210 'messages': { 4228 'messages': {
4211 # Messages that are not associated to any policies. 4229 # Messages that are not associated to any policies.
4212 'win_supported_winxpsp2': { 4230 'win_supported_winxpsp2': {
4213 '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:'.''', 4231 '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:'.''',
4214 'text': '''Microsoft Windows XP SP2 or later''' 4232 'text': '''Microsoft Windows XP SP2 or later'''
4215 }, 4233 },
4216 'mac_chrome_preferences': { 4234 'mac_chrome_preferences': {
4217 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 4235 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
4218 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 4236 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
4301 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4319 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
4302 'text': 'deprecated', 4320 'text': 'deprecated',
4303 }, 4321 },
4304 'doc_recommended': { 4322 'doc_recommended': {
4305 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4323 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
4306 'text': 'Default Settings (users can override)', 4324 'text': 'Default Settings (users can override)',
4307 }, 4325 },
4308 }, 4326 },
4309 'placeholders': [], 4327 'placeholders': [],
4310 } 4328 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/echo_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698