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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # policy configuration files. 'dynamic_refresh' controls if the generated 87 # policy configuration files. 'dynamic_refresh' controls if the generated
88 # documentation should state that the policy supports dynamic refresh or not. 88 # documentation should state that the policy supports dynamic refresh or not.
89 # Supporting dynamic refresh means that Chrome respects the changes to the 89 # Supporting dynamic refresh means that Chrome respects the changes to the
90 # policy immediately, without the need for restart. 90 # policy immediately, without the need for restart.
91 # 91 #
92 # IDs: 92 # IDs:
93 # Since a Protocol Buffer definition is generated from this file, unique and 93 # Since a Protocol Buffer definition is generated from this file, unique and
94 # persistent IDs for all fields (but not for groups!) are needed. These are 94 # persistent IDs for all fields (but not for groups!) are needed. These are
95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
96 # because doing so would break the deployed wire format! 96 # because doing so would break the deployed wire format!
97 # For your editing convenience: highest ID currently used: 87 97 # For your editing convenience: highest ID currently used: 88
98 # 98 #
99 # Placeholders: 99 # Placeholders:
100 # The following placeholder strings are automatically substituted: 100 # The following placeholder strings are automatically substituted:
101 # $1 -> Google Chrome / Chromium 101 # $1 -> Google Chrome / Chromium
102 # $2 -> Google Chrome OS / Chromium OS 102 # $2 -> Google Chrome OS / Chromium OS
103 # $3 -> Google Chrome Frame / Chromium Frame 103 # $3 -> Google Chrome Frame / Chromium Frame
104 # $6 is reserved for doc_writer 104 # $6 is reserved for doc_writer
105 # 105 #
106 'policy_definitions': [ 106 'policy_definitions': [
107 { 107 {
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 'features': {'dynamic_refresh': 0}, 480 'features': {'dynamic_refresh': 0},
481 'example_value': '${user_home}/Chrome', 481 'example_value': '${user_home}/Chrome',
482 'id': 63, 482 'id': 63,
483 'caption': '''Set user data directory''', 483 'caption': '''Set user data directory''',
484 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for storing user data. 484 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for storing user data.
485 485
486 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.''', 486 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.''',
487 'label': '''Set user data directory''', 487 'label': '''Set user data directory''',
488 }, 488 },
489 { 489 {
490 'name': 'DiskCacheDir',
491 'type': 'string',
492 'supported_on': ['chrome.*:13-'],
493 'features': {'dynamic_refresh': 0},
494 'example_value': '${user_home}/Chrome_cache',
495 'id': 88,
496 'caption': '''Set disk cache directory''',
497 '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.
498
499 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.''',
500 'label': '''Set disk cache directory''',
501 },
502 {
490 'name': 'DownloadDirectory', 503 'name': 'DownloadDirectory',
491 'type': 'string', 504 'type': 'string',
492 'supported_on': ['chrome.*:11-'], 505 'supported_on': ['chrome.*:11-'],
493 'features': {'dynamic_refresh': 1}, 506 'features': {'dynamic_refresh': 1},
494 'example_value': '${user_home}/Downloads', 507 'example_value': '${user_home}/Downloads',
495 'id': 64, 508 'id': 64,
496 'caption': '''Set download directory''', 509 'caption': '''Set download directory''',
497 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for downloading files. 510 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for downloading files.
498 511
499 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 on e or enabled the flag to be prompted for download location every time.''', 512 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 on e or enabled the flag to be prompted for download location every time.''',
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1619 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1607 'text': '''Dynamic Policy Refresh''' 1620 'text': '''Dynamic Policy Refresh'''
1608 }, 1621 },
1609 'doc_deprecated': { 1622 'doc_deprecated': {
1610 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1623 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1611 'text': 'deprecated', 1624 'text': 'deprecated',
1612 } 1625 }
1613 }, 1626 },
1614 'placeholders': [], 1627 'placeholders': [],
1615 } 1628 }
OLDNEW
« 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