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

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

Issue 449483002: Document pixel dimension limit for WallpaperImage policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 6491 matching lines...) Expand 10 before | Expand all | Expand 10 after
6502 'features': { 6502 'features': {
6503 'dynamic_refresh': True, 6503 'dynamic_refresh': True,
6504 'per_profile': True, 6504 'per_profile': True,
6505 }, 6505 },
6506 'example_value': { "url": "http://example.com/wallpaper.jpg", "hash": "bad decafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf" }, 6506 'example_value': { "url": "http://example.com/wallpaper.jpg", "hash": "bad decafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf" },
6507 'max_size': 16777216, 6507 'max_size': 16777216,
6508 'id': 262, 6508 'id': 262,
6509 'caption': '''Wallpaper image''', 6509 'caption': '''Wallpaper image''',
6510 'desc': '''Configure wallpaper image. 6510 'desc': '''Configure wallpaper image.
6511 6511
6512 This policy allows you to configure the wallpaper image that is shown on t he desktop and on the login screen background for the user. The policy is set by specifying the URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS </ex></ph> can download the wallpaper image and a cryptographic hash used to ver ify the integrity of the download. The image must be in JPEG format, its size mu st not exceed 16MB. The URL must be accessible without any authentication. 6512 This policy allows you to configure the wallpaper image that is shown on t he desktop and on the login screen background for the user. The policy is set by specifying the URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS </ex></ph> can download the wallpaper image and a cryptographic hash used to ver ify the integrity of the download. The image must be in JPEG format, its file si ze must not exceed 16MB and its dimension must not exceed 32 Megapixels. The URL must be accessible without any authentication.
bartfab (slow) 2014/08/06 14:35:45 Nit: s/Megapixels/megapixels/
Thiemo Nagel 2014/08/06 15:23:56 Done.
6513 6513
6514 The wallpaper image is downloaded and cached. It will be re-downloaded whe never the URL or the hash changes. 6514 The wallpaper image is downloaded and cached. It will be re-downloaded whe never the URL or the hash changes.
6515 6515
6516 The policy should be specified as a string that expresses the URL and hash in JSON format, conforming to the following schema: 6516 The policy should be specified as a string that expresses the URL and hash in JSON format, conforming to the following schema:
6517 { 6517 {
6518 "type": "object", 6518 "type": "object",
6519 "properties": { 6519 "properties": {
6520 "url": { 6520 "url": {
6521 "description": "The URL from which the wallpaper image can be downlo aded.", 6521 "description": "The URL from which the wallpaper image can be downlo aded.",
6522 "type": "string" 6522 "type": "string"
(...skipping 199 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''', 6722 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6723 'text': 'deprecated', 6723 'text': 'deprecated',
6724 }, 6724 },
6725 'doc_recommended': { 6725 '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''', 6726 '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)', 6727 'text': 'Default Settings (users can override)',
6728 }, 6728 },
6729 }, 6729 },
6730 'placeholders': [], 6730 'placeholders': [],
6731 } 6731 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698