Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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: 89 | 97 # For your editing convenience: highest ID currently used: 87 |
|
markusheintz
2011/05/16 15:55:08
Why was this decreased? Should it have been increa
| |
| 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 Loading... | |
| 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.win:13-', 'chrome.mac:13-'], | |
| 493 'features': {'dynamic_refresh': 0}, | |
| 494 'example_value': '${user_home}/Chrome_cache', | |
| 495 'id': 87, | |
| 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 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1593 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', | 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''', |
| 1594 'text': '''Dynamic Policy Refresh''' | 1607 'text': '''Dynamic Policy Refresh''' |
| 1595 }, | 1608 }, |
| 1596 'doc_deprecated': { | 1609 'doc_deprecated': { |
| 1597 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', | 1610 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', |
| 1598 'text': 'deprecated', | 1611 'text': 'deprecated', |
| 1599 } | 1612 } |
| 1600 }, | 1613 }, |
| 1601 'placeholders': [], | 1614 'placeholders': [], |
| 1602 } | 1615 } |
| OLD | NEW |