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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 6832d0db7e29c24d02d8df486a07ea07d226145e..2e6055217267bcf4412739eef2861346452cc2b9 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -94,7 +94,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 89
+# For your editing convenience: highest ID currently used: 90
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -1331,10 +1331,10 @@
'features': {'dynamic_refresh': 1},
'example_value': 3600000,
'id': 56,
- 'caption': '''Policy refresh rate''',
- 'desc': '''Specifies the period in milliseconds at which the device management service is queried for policy information.
+ 'caption': '''Refresh rate for user policy''',
+ 'desc': '''Specifies the period in milliseconds at which the device management service is queried for user policy information.
- Setting this policy overrides the default value of 3 hours. Valid values for 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.''',
+ Setting this policy overrides the default value of 3 hours. Valid values for this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). Any values not in this range will be clamped to the respective boundary.''',
},
{
'name': 'ChromeFrameRendererSettings',
@@ -1552,6 +1552,20 @@
If you set this policy, <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame</ex></ph> will use the provided directory.''',
'label': '''Set user data directory''',
},
+ {
+ 'name': 'DevicePolicyRefreshRate',
+ 'type': 'int',
+ 'supported_on': ['chrome_os:1.0-'],
+ 'device_only': True,
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 3600000,
+ 'id': 90,
+ 'caption': '''Refresh rate for Device Policy''',
+ 'desc': '''Specifies the period in milliseconds at which the device management service is queried for device policy information.
+
+ Setting this policy overrides the default value of 3 hours. Valid values for this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). Any values not in this range will be clamped to the respective boundary.''',
+ },
+
],
'messages': {
# Messages that are not associated to any policies.
« 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