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

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: cr 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/test/BUILD.gn ('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 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
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
1420 This policy must not be set to a volume's root directory, and should not b e set to a directory used for other purposes.''',
pastarmovj 2016/06/01 15:09:40 Can you explain to me why is this the case? I don'
zmin 2016/06/01 15:34:30 No, it won't wipe the hard drive. However, there i
zmin 2016/06/01 15:45:22 Actually, I'll put it behind the paragraph of 'If
pastarmovj 2016/06/02 10:04:35 I understand that we don't want to have a lengthy
1419 'label': '''Set user data directory''', 1421 'label': '''Set user data directory''',
1420 }, 1422 },
1421 { 1423 {
1422 'name': 'DiskCacheDir', 1424 'name': 'DiskCacheDir',
1423 'type': 'string', 1425 'type': 'string',
1424 'schema': { 'type': 'string' }, 1426 'schema': { 'type': 'string' },
1425 'supported_on': ['chrome.*:13-'], 1427 'supported_on': ['chrome.*:13-'],
1426 'features': { 1428 'features': {
1427 'dynamic_refresh': False, 1429 'dynamic_refresh': False,
1428 'per_profile': False, 1430 'per_profile': False,
1429 }, 1431 },
1430 'example_value': '${user_home}/Chrome_cache', 1432 'example_value': '${user_home}/Chrome_cache',
1431 'id': 88, 1433 'id': 88,
1432 'caption': '''Set disk cache directory''', 1434 'caption': '''Set disk cache directory''',
1433 'tags': [], 1435 '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. 1436 '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 1437
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. 1438 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.
1437 1439
1438 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used. 1440 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used.
1439 1441
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.''', 1442 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.
1443
1444 This policy must not be set to a volume's root directory, and should not b e set to a directory used for other purposes.''',
pastarmovj 2016/06/01 15:09:40 Ditto.
zmin 2016/06/01 15:34:29 Done.
1441 'label': '''Set disk cache directory''', 1445 'label': '''Set disk cache directory''',
1442 }, 1446 },
1443 { 1447 {
1444 'name': 'DiskCacheSize', 1448 'name': 'DiskCacheSize',
1445 'type': 'int', 1449 'type': 'int',
1446 'schema': { 'type': 'integer' }, 1450 'schema': { 'type': 'integer' },
1447 'supported_on': ['chrome.*:17-'], 1451 'supported_on': ['chrome.*:17-'],
1448 'features': { 1452 'features': {
1449 'dynamic_refresh': False, 1453 'dynamic_refresh': False,
1450 'per_profile': False, 1454 'per_profile': False,
(...skipping 7190 matching lines...) Expand 10 before | Expand all | Expand 10 after
8641 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8645 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8642 'text': 'Default Settings (users can override)', 8646 'text': 'Default Settings (users can override)',
8643 }, 8647 },
8644 'doc_complex_policies_on_windows': { 8648 'doc_complex_policies_on_windows': {
8645 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8649 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8646 '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>' '', 8650 '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>' '',
8647 }, 8651 },
8648 }, 8652 },
8649 'placeholders': [], 8653 'placeholders': [],
8650 } 8654 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698