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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 1986823002: Reset user data directory and disk cache directory after downgrade. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/installer/util/install_util_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 'features': { 1404 'features': {
1405 'dynamic_refresh': False, 1405 'dynamic_refresh': False,
1406 'per_profile': False, 1406 'per_profile': False,
1407 }, 1407 },
1408 'example_value': '${users}/${user_name}/Chrome', 1408 'example_value': '${users}/${user_name}/Chrome',
1409 'id': 63, 1409 'id': 63,
1410 'caption': '''Set user data directory''', 1410 'caption': '''Set user data directory''',
1411 'tags': ['local-data-access'], 1411 'tags': ['local-data-access'],
1412 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for storing user data. 1412 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for storing user data.
1413 1413
1414 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 th e '--user-data-dir' flag or not. 1414 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 th e '--user-data-dir' flag or not. To avoid data loss or other unexpected errors t his policy should not be set to a volume's root directory or to a directory used for other purposes, because <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></p h> manages its contents.
1415 1415
1416 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used. 1416 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used.
1417 1417
1418 If this policy is left not set the default profile path will be used and t he user will be able to override it with the '--user-data-dir' command line flag .''', 1418 If this policy is left not set the default profile path will be used and t he user will be able to override it with the '--user-data-dir' command line flag .''',
1419 'label': '''Set user data directory''', 1419 'label': '''Set user data directory''',
1420 }, 1420 },
1421 { 1421 {
1422 'name': 'DiskCacheDir', 1422 'name': 'DiskCacheDir',
1423 'type': 'string', 1423 'type': 'string',
1424 'schema': { 'type': 'string' }, 1424 'schema': { 'type': 'string' },
1425 'supported_on': ['chrome.*:13-'], 1425 'supported_on': ['chrome.*:13-'],
1426 'features': { 1426 'features': {
1427 'dynamic_refresh': False, 1427 'dynamic_refresh': False,
1428 'per_profile': False, 1428 'per_profile': False,
1429 }, 1429 },
1430 'example_value': '${user_home}/Chrome_cache', 1430 'example_value': '${user_home}/Chrome_cache',
1431 'id': 88, 1431 'id': 88,
1432 'caption': '''Set disk cache directory''', 1432 'caption': '''Set disk cache directory''',
1433 'tags': [], 1433 'tags': [],
1434 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for storing cached files on the disk. 1434 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for storing cached files on the disk.
1435 1435
1436 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 th e '--disk-cache-dir' flag or not. 1436 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 th e '--disk-cache-dir' flag or not. To avoid data loss or other unexpected errors this policy should not be set to a volume's root directory or to a directory use d for other purposes, because <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> manages its contents.
1437 1437
1438 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used. 1438 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used.
1439 1439
1440 If this policy is left not set the default cache directory will be used an d the user will be able to override it with the '--disk-cache-dir' command line flag.''', 1440 If this policy is left not set the default cache directory will be used an d the user will be able to override it with the '--disk-cache-dir' command line flag.''',
1441 'label': '''Set disk cache directory''', 1441 'label': '''Set disk cache directory''',
1442 }, 1442 },
1443 { 1443 {
1444 'name': 'DiskCacheSize', 1444 'name': 'DiskCacheSize',
1445 'type': 'int', 1445 'type': 'int',
1446 'schema': { 'type': 'integer' }, 1446 'schema': { 'type': 'integer' },
(...skipping 7291 matching lines...) Expand 10 before | Expand all | Expand 10 after
8738 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8738 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8739 'text': 'Default Settings (users can override)', 8739 'text': 'Default Settings (users can override)',
8740 }, 8740 },
8741 'doc_complex_policies_on_windows': { 8741 'doc_complex_policies_on_windows': {
8742 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8742 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8743 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 8743 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
8744 }, 8744 },
8745 }, 8745 },
8746 'placeholders': [], 8746 'placeholders': [],
8747 } 8747 }
OLDNEW
« no previous file with comments | « chrome/installer/util/install_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698