summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy
diff options
context:
space:
mode:
authorpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 14:48:30 +0000
committerpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 14:48:30 +0000
commit1f8110b02d73ffdd890f085a42fb6f155bc3073f (patch)
treec6a2b49847e62659f48355e22a79357fd77af040 /chrome/app/policy
parent63ce6bb6f05140525968776d1f1f591a2555d835 (diff)
downloadchromium_src-1f8110b02d73ffdd890f085a42fb6f155bc3073f.zip
chromium_src-1f8110b02d73ffdd890f085a42fb6f155bc3073f.tar.gz
chromium_src-1f8110b02d73ffdd890f085a42fb6f155bc3073f.tar.bz2
Implemented a policy for centralized setting of the --disk-cache-dir flag.
This has been wanted policy so that we can safely use remote locations for user profiles which is prone to errors especially with web databases open. This should allow more people to use this kind of setup. BUG=78619 TEST=For the policy wiring existing policy tests for the cache dir effect manually. Review URL: http://codereview.chromium.org/7013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r--chrome/app/policy/policy_templates.json15
1 files changed, 14 insertions, 1 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index b86fdb4..471ff49 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:
@@ -493,6 +493,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-'],