summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy
diff options
context:
space:
mode:
authorpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-03 15:38:50 +0000
committerpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-03 15:38:50 +0000
commitf7b73adeff4efc43d7e596db442be2be6037fe6a (patch)
tree9211acaa21ea66a7e3103133f3f42acd557189df /chrome/app/policy
parent1b1d870bca786ef6df42e119099b60c633361860 (diff)
downloadchromium_src-f7b73adeff4efc43d7e596db442be2be6037fe6a.zip
chromium_src-f7b73adeff4efc43d7e596db442be2be6037fe6a.tar.gz
chromium_src-f7b73adeff4efc43d7e596db442be2be6037fe6a.tar.bz2
This policy is directly read from the registry instead through the local_store because it is used much earlier in the life cycle of all chrome processes and local_store is only available in the browser process and loaded much later.
The option is implemented with minimal intrusion on the existing start-up process and only overrides any command line parameter or default setting that might be in place. BUG=49601 TEST=Manual. Set the policy in windows and it should be equivalent to using the --user-data-dir option. Review URL: http://codereview.chromium.org/6286048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r--chrome/app/policy/policy_templates.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 4fc6b18..5901600 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -379,6 +379,18 @@
If you enable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
},
{
+ 'name': 'UserDataDir',
+ 'type': 'string',
+ 'supported_on': ['chrome.win:11-'],
+ 'features': {'dynamic_refresh': 0},
+ 'example_value': '${user_home}\Chrome',
+ 'caption': '''Set user data directory''',
+ 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing user data.
+
+ 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 '--user-data-dir' flag or not.''',
+ 'label': '''Set user data directory''',
+ },
+ {
'name': 'Proxy',
'type': 'group',
'caption': '''Proxy server''',