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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 8572006: Add policies to control the disk cache size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: This time two more for realz. Created 9 years, 1 month 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/browser_process_impl.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 0f5a07726dd78c30b1e183b751dcf9c15a76f36f..e9f8a345565ac6fa7dde37b614d01c6fd1cb1286 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -100,7 +100,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: 109
+# For your editing convenience: highest ID currently used: 111
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -593,6 +593,40 @@
'label': '''Set disk cache directory''',
},
{
+ 'name': 'DiskCacheSize',
+ 'type': 'int',
+ 'supported_on': ['chrome.*:17-'],
+ 'features': {'dynamic_refresh': 0},
+ 'example_value': 100,
+ 'id': 110,
+ 'caption': '''Set disk cache size in megabytes''',
+ 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached files on the disk.
+
+ If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided cache size regardless whether the user has specified the '--disk-cache-size' flag or not.
+
+ If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
+
+ If this policy is not set the default size will be used and the user will be able to override it with the --disk-cache-size flag.''',
+ 'label': '''Set disk cache size''',
+ },
+ {
+ 'name': 'MediaCacheSize',
+ 'type': 'int',
+ 'supported_on': ['chrome.*:17-'],
+ 'features': {'dynamic_refresh': 0},
+ 'example_value': 250,
+ 'id': 111,
+ 'caption': '''Set media disk cache size''',
+ 'desc': '''Configures the chache size that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached media files on the disk.
+
+ If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided cache size regardless whether the user has specified the '--media-cache-size' flag or not.
+
+ If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
+
+ If this policy is not set the default size will be used and the user will be able to override it with the --media-cache-size flag.''',
+ 'label': '''Set media disk cache size''',
+ },
+ {
'name': 'DownloadDirectory',
'type': 'string',
'supported_on': ['chrome.*:11-'],
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698