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

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

Issue 7528024: Add a policy to allow NTP promotions & default apps to be disabled. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Disable app promo tests for ChromeOS. Created 9 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 | Annotate | Revision Log
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # policy configuration files. 'dynamic_refresh' controls if the generated 87 # policy configuration files. 'dynamic_refresh' controls if the generated
88 # documentation should state that the policy supports dynamic refresh or not. 88 # documentation should state that the policy supports dynamic refresh or not.
89 # Supporting dynamic refresh means that Chrome respects the changes to the 89 # Supporting dynamic refresh means that Chrome respects the changes to the
90 # policy immediately, without the need for restart. 90 # policy immediately, without the need for restart.
91 # 91 #
92 # IDs: 92 # IDs:
93 # Since a Protocol Buffer definition is generated from this file, unique and 93 # Since a Protocol Buffer definition is generated from this file, unique and
94 # persistent IDs for all fields (but not for groups!) are needed. These are 94 # persistent IDs for all fields (but not for groups!) are needed. These are
95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
96 # because doing so would break the deployed wire format! 96 # because doing so would break the deployed wire format!
97 # For your editing convenience: highest ID currently used: 95 97 # For your editing convenience: highest ID currently used: 96
98 # 98 #
99 # Placeholders: 99 # Placeholders:
100 # The following placeholder strings are automatically substituted: 100 # The following placeholder strings are automatically substituted:
101 # $1 -> Google Chrome / Chromium 101 # $1 -> Google Chrome / Chromium
102 # $2 -> Google Chrome OS / Chromium OS 102 # $2 -> Google Chrome OS / Chromium OS
103 # $3 -> Google Chrome Frame / Chromium Frame 103 # $3 -> Google Chrome Frame / Chromium Frame
104 # $6 is reserved for doc_writer 104 # $6 is reserved for doc_writer
105 # 105 #
106 # Device Policy: 106 # Device Policy:
107 # An additional flag device_only (optional, defaults to False) indicates 107 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 'id': 92, 1654 'id': 92,
1655 'caption': '''Maximal number of concurrent connections to the proxy server ''', 1655 'caption': '''Maximal number of concurrent connections to the proxy server ''',
1656 'desc': '''Specifies the maximal number of simultanious connections to the proxy server. 1656 'desc': '''Specifies the maximal number of simultanious connections to the proxy server.
1657 1657
1658 Some proxy servers can not handle high number of concurrent connections pe r client and this can be solved by setting this policy to a lower value. 1658 Some proxy servers can not handle high number of concurrent connections pe r client and this can be solved by setting this policy to a lower value.
1659 1659
1660 The value of this policy should be lower than 100 and higher than 6 and th e default value is 32. 1660 The value of this policy should be lower than 100 and higher than 6 and th e default value is 32.
1661 1661
1662 Some web apps are known to consume many connections with hanging GETs, so lowering below 32 may lead to browser networking hangs if too many such web apps are open. Lower below the default at your own risk.''', 1662 Some web apps are known to consume many connections with hanging GETs, so lowering below 32 may lead to browser networking hangs if too many such web apps are open. Lower below the default at your own risk.''',
1663 }, 1663 },
1664 {
1665 'name': 'HideWebStorePromo',
1666 'type': 'main',
1667 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'],
1668 'features': {'dynamic_refresh': 0},
1669 'example_value': False,
1670 'id': 96,
1671 'caption': '''Prevent app promotions from appearing on the new tab page''' ,
1672 'desc': '''When set to True, promotions for Chrome Web Store apps will not appear on the new tab page.''',
1673 },
1664 1674
1665 ], 1675 ],
1666 'messages': { 1676 'messages': {
1667 # Messages that are not associated to any policies. 1677 # Messages that are not associated to any policies.
1668 'win_supported_winxpsp2': { 1678 'win_supported_winxpsp2': {
1669 '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:'.''', 1679 '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:'.''',
1670 'text': '''Microsoft Windows XP SP2 or later''' 1680 'text': '''Microsoft Windows XP SP2 or later'''
1671 }, 1681 },
1672 'mac_chrome_preferences': { 1682 'mac_chrome_preferences': {
1673 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 1683 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1755 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1746 'text': '''Dynamic Policy Refresh''' 1756 'text': '''Dynamic Policy Refresh'''
1747 }, 1757 },
1748 'doc_deprecated': { 1758 'doc_deprecated': {
1749 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1759 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1750 'text': 'deprecated', 1760 'text': 'deprecated',
1751 } 1761 }
1752 }, 1762 },
1753 'placeholders': [], 1763 'placeholders': [],
1754 } 1764 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/apps_promo.cc » ('j') | chrome/browser/extensions/apps_promo.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698