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

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

Issue 7014036: Split the policy refresh rate preference into user- and device-policy refresh rate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits. Created 9 years, 6 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/policy/browser_policy_connector.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 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: 89 97 # For your editing convenience: highest ID currently used: 90
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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 1324
1325 Disabling this setting potentially allows web pages to use the WebGL API a nd plugins to use the Pepper 3D API. The default settings of the browser may sti ll require command line arguments to be passed in order to use these APIs.''', 1325 Disabling this setting potentially allows web pages to use the WebGL API a nd plugins to use the Pepper 3D API. The default settings of the browser may sti ll require command line arguments to be passed in order to use these APIs.''',
1326 }, 1326 },
1327 { 1327 {
1328 'name': 'PolicyRefreshRate', 1328 'name': 'PolicyRefreshRate',
1329 'type': 'int', 1329 'type': 'int',
1330 'supported_on': ['chrome_os:1.0-'], 1330 'supported_on': ['chrome_os:1.0-'],
1331 'features': {'dynamic_refresh': 1}, 1331 'features': {'dynamic_refresh': 1},
1332 'example_value': 3600000, 1332 'example_value': 3600000,
1333 'id': 56, 1333 'id': 56,
1334 'caption': '''Policy refresh rate''', 1334 'caption': '''Refresh rate for user policy''',
1335 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for policy information. 1335 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for user policy information.
1336 1336
1337 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 30 minutes to 1 day. Any values not in this range will be clamped to the respective boundary.''', 1337 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). A ny values not in this range will be clamped to the respective boundary.''',
1338 }, 1338 },
1339 { 1339 {
1340 'name': 'ChromeFrameRendererSettings', 1340 'name': 'ChromeFrameRendererSettings',
1341 'type': 'group', 1341 'type': 'group',
1342 'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<e x>Google Chrome Frame</ex></ph>''', 1342 'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<e x>Google Chrome Frame</ex></ph>''',
1343 'desc': '''Allows you to configure the default HTML renderer when <ph name ="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex> 1343 'desc': '''Allows you to configure the default HTML renderer when <ph name ="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex>
1344 </ph> is installed. 1344 </ph> is installed.
1345 The default setting is to allow the host browser do the rendering, but you 1345 The default setting is to allow the host browser do the rendering, but you
1346 can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex> 1346 can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>
1347 Google Chrome Frame</ex></ph> render HTML pages by default.''', 1347 Google Chrome Frame</ex></ph> render HTML pages by default.''',
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1545 'supported_on': ['chrome_frame:12-'], 1545 'supported_on': ['chrome_frame:12-'],
1546 'features': {'dynamic_refresh': 0}, 1546 'features': {'dynamic_refresh': 0},
1547 'example_value': '${user_home}/Chrome Frame', 1547 'example_value': '${user_home}/Chrome Frame',
1548 'id': 87, 1548 'id': 87,
1549 'caption': '''Set <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame</ex></ ph> user data directory''', 1549 'caption': '''Set <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame</ex></ ph> user data directory''',
1550 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$3<ex>Goo gle Chrome Frame</ex></ph> will use for storing user data. 1550 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$3<ex>Goo gle Chrome Frame</ex></ph> will use for storing user data.
1551 1551
1552 If you set this policy, <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame< /ex></ph> will use the provided directory.''', 1552 If you set this policy, <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame< /ex></ph> will use the provided directory.''',
1553 'label': '''Set user data directory''', 1553 'label': '''Set user data directory''',
1554 }, 1554 },
1555 {
1556 'name': 'DevicePolicyRefreshRate',
1557 'type': 'int',
1558 'supported_on': ['chrome_os:1.0-'],
1559 'device_only': True,
1560 'features': {'dynamic_refresh': 1},
1561 'example_value': 3600000,
1562 'id': 90,
1563 'caption': '''Refresh rate for Device Policy''',
1564 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information.
1565
1566 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). A ny values not in this range will be clamped to the respective boundary.''',
1567 },
1568
1555 ], 1569 ],
1556 'messages': { 1570 'messages': {
1557 # Messages that are not associated to any policies. 1571 # Messages that are not associated to any policies.
1558 'win_supported_winxpsp2': { 1572 'win_supported_winxpsp2': {
1559 '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:'.''', 1573 '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:'.''',
1560 'text': '''Microsoft Windows XP SP2 or later''' 1574 'text': '''Microsoft Windows XP SP2 or later'''
1561 }, 1575 },
1562 'mac_chrome_preferences': { 1576 'mac_chrome_preferences': {
1563 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 1577 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
1564 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 1578 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1649 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1636 'text': '''Dynamic Policy Refresh''' 1650 'text': '''Dynamic Policy Refresh'''
1637 }, 1651 },
1638 'doc_deprecated': { 1652 'doc_deprecated': {
1639 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1653 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1640 'text': 'deprecated', 1654 'text': 'deprecated',
1641 } 1655 }
1642 }, 1656 },
1643 'placeholders': [], 1657 'placeholders': [],
1644 } 1658 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698