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

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

Issue 2159223002: Fixed cloud policy refresh API to return correct value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback Created 4 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 | « components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc ('k') | 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 3647 matching lines...) Expand 10 before | Expand all | Expand 10 after
3658 'features': { 3658 'features': {
3659 'dynamic_refresh': True, 3659 'dynamic_refresh': True,
3660 'per_profile': True, 3660 'per_profile': True,
3661 }, 3661 },
3662 'example_value': 3600000, 3662 'example_value': 3600000,
3663 'id': 56, 3663 'id': 56,
3664 'caption': '''Refresh rate for user policy''', 3664 'caption': '''Refresh rate for user policy''',
3665 'tags': [], 3665 'tags': [],
3666 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for user policy information. 3666 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for user policy information.
3667 3667
3668 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. 3668 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. If the p latform supports policy notifications, the refresh delay will be set to 24 hours because it is expected that policy notifications will force a refresh automatic ally whenever policy changes.
3669 3669
3670 Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 3 hours.''', 3670 Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 3 hours.
3671
3672 Note that if the platform supports policy notifications, the refresh delay will be set to 24 hours (ignoring all defaults and the value of this policy) be cause it is expected that policy notifications will force a refresh automaticall y whenever policy changes, making more frequent refreshes unnecessary.''',
3671 }, 3673 },
3672 { 3674 {
3673 'name': 'MaxInvalidationFetchDelay', 3675 'name': 'MaxInvalidationFetchDelay',
3674 'type': 'int', 3676 'type': 'int',
3675 'schema': { 'type': 'integer' }, 3677 'schema': { 'type': 'integer' },
3676 'supported_on': ['chrome.*:30-', 'chrome_os:30-'], 3678 'supported_on': ['chrome.*:30-', 'chrome_os:30-'],
3677 'features': { 3679 'features': {
3678 'dynamic_refresh': True, 3680 'dynamic_refresh': True,
3679 'per_profile': True, 3681 'per_profile': True,
3680 }, 3682 },
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
4120 'dynamic_refresh': True, 4122 'dynamic_refresh': True,
4121 }, 4123 },
4122 'example_value': 3600000, 4124 'example_value': 3600000,
4123 'id': 90, 4125 'id': 90,
4124 'caption': '''Refresh rate for Device Policy''', 4126 'caption': '''Refresh rate for Device Policy''',
4125 'tags': [], 4127 'tags': [],
4126 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information. 4128 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information.
4127 4129
4128 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. 4130 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.
4129 4131
4130 Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> use the default value of 3 hours.''', 4132 Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> use the default value of 3 hours.
4133
4134 Note that if the platform supports policy notifications, the refresh delay will be set to 24 hours (ignoring all defaults and the value of this policy) be cause it is expected that policy notifications will force a refresh automaticall y whenever policy changes, making more frequent refreshes unnecessary.''',
4131 }, 4135 },
4132 { 4136 {
4133 'name': 'ImportBookmarks', 4137 'name': 'ImportBookmarks',
4134 'type': 'main', 4138 'type': 'main',
4135 'schema': { 'type': 'boolean' }, 4139 'schema': { 'type': 'boolean' },
4136 'supported_on': ['chrome.*:15-'], 4140 'supported_on': ['chrome.*:15-'],
4137 'features': { 4141 'features': {
4138 'can_be_recommended': True, 4142 'can_be_recommended': True,
4139 'dynamic_refresh': True, 4143 'dynamic_refresh': True,
4140 'per_profile': True, 4144 'per_profile': True,
(...skipping 4724 matching lines...) Expand 10 before | Expand all | Expand 10 after
8865 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8869 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8866 'text': 'Default Settings (users can override)', 8870 'text': 'Default Settings (users can override)',
8867 }, 8871 },
8868 'doc_complex_policies_on_windows': { 8872 'doc_complex_policies_on_windows': {
8869 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8873 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8870 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 8874 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
8871 }, 8875 },
8872 }, 8876 },
8873 'placeholders': [], 8877 'placeholders': [],
8874 } 8878 }
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698