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

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

Issue 7013046: Implemented a policy for centralized setting of the --disk-cache-dir flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Protected the policy from hitting ChromeOS. Created 9 years, 7 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/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 aaf07ec0123ef8514224d7c41e988a0009738dd2..a3afd76d93cdf3064c783e456cb99be01f59b060 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: 87
+# For your editing convenience: highest ID currently used: 88
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -487,6 +487,19 @@
'label': '''Set user data directory''',
},
{
+ 'name': 'DiskCacheDir',
+ 'type': 'string',
+ 'supported_on': ['chrome.*:13-'],
+ 'features': {'dynamic_refresh': 0},
+ 'example_value': '${user_home}/Chrome_cache',
+ 'id': 88,
+ 'caption': '''Set disk cache directory''',
+ 'desc': '''Configures the directory 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 directory regardless whether the user has specified the '--disk-cache-dir' flag or not.''',
+ 'label': '''Set disk cache directory''',
+ },
+ {
'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