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

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

Issue 10873085: Implement two new policies to control muting the audio I/O. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT. Created 8 years, 3 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/audio/audio_handler.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: 158 115 # For your editing convenience: highest ID currently used: 160
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 3016 matching lines...) Expand 10 before | Expand all | Expand 10 after
3142 'caption': '''Disable mounting of external storage''', 3142 'caption': '''Disable mounting of external storage''',
3143 'desc': '''Disable mounting of external storage. 3143 'desc': '''Disable mounting of external storage.
3144 3144
3145 When this policy is set to true, external storage will not be available in the file browser. 3145 When this policy is set to true, external storage will not be available in the file browser.
3146 3146
3147 This policy affects all types of storage media. For example: USB flash dri ves, external hard drives, SD and other memory cards, optical storage etc. Inter nal storage is not affected, therefore files saved in the Download folder can st ill be accessed. Google Drive is also not affected by this policy. 3147 This policy affects all types of storage media. For example: USB flash dri ves, external hard drives, SD and other memory cards, optical storage etc. Inter nal storage is not affected, therefore files saved in the Download folder can st ill be accessed. Google Drive is also not affected by this policy.
3148 3148
3149 If this setting is disabled or not configured then users can use all suppo rted types of external storage on their device.''', 3149 If this setting is disabled or not configured then users can use all suppo rted types of external storage on their device.''',
3150 }, 3150 },
3151 { 3151 {
3152 'name': 'AudioOutputAllowed',
3153 'type': 'main',
3154 'schema': { 'type': 'boolean' },
3155 'supported_on': ['chrome_os:0.23-'],
3156 'features': {'dynamic_refresh': True},
3157 'example_value': False,
3158 'id': 159,
3159 'caption': '''Allow playing audio''',
3160 'desc': '''Allow playing audio.
3161
3162 When this policy is set to false, audio output will not be available on th e device while the user is logged in.
3163
3164 This policy affects all types of audio output and not only the built-in sp eakers. Audio accessability features are also inhibited by this policy. Do not e nable this policy if a screen reader is required for the user.
3165
3166 If this setting is set to true or not configured then users can use all su pported audio outputs on their device.''',
3167 },
3168 {
3169 'name': 'AudioCaptureAllowed',
3170 'type': 'main',
3171 'schema': { 'type': 'boolean' },
3172 'supported_on': ['chrome_os:0.23-'],
3173 'features': {'dynamic_refresh': True},
3174 'example_value': False,
3175 'id': 160,
3176 'caption': '''Allow capturing audio''',
3177 'desc': '''Allow capturing audio.
3178
3179 When this policy is set to false, audio capturing will not be available on the device while the user is logged in.
3180
3181 This policy affects all types of audio inputs and not only the built-in mi crophone.
3182
3183 If this setting is set to true or not configured then users can use all su pported audio inputs on their device.''',
3184 },
3185 {
3152 'name': 'DisableScreenshots', 3186 'name': 'DisableScreenshots',
3153 'type': 'main', 3187 'type': 'main',
3154 'schema': { 'type': 'boolean' }, 3188 'schema': { 'type': 'boolean' },
3155 'supported_on': ['chrome_os:22-', 'chrome.*:22-'], 3189 'supported_on': ['chrome_os:22-', 'chrome.*:22-'],
3156 'features': { 3190 'features': {
3157 'dynamic_refresh': True, 3191 'dynamic_refresh': True,
3158 }, 3192 },
3159 'example_value': True, 3193 'example_value': True,
3160 'id': 153, 3194 'id': 153,
3161 'caption': '''Disable taking screenshots''', 3195 'caption': '''Disable taking screenshots''',
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
3274 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 3308 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3275 'text': 'deprecated', 3309 'text': 'deprecated',
3276 }, 3310 },
3277 'doc_recommended': { 3311 'doc_recommended': {
3278 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 3312 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3279 'text': 'Recommended', 3313 'text': 'Recommended',
3280 }, 3314 },
3281 }, 3315 },
3282 'placeholders': [], 3316 'placeholders': [],
3283 } 3317 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/audio/audio_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698