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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
| 133 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 134 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
| 135 # to an empty list. | 135 # to an empty list. |
| 136 # | 136 # |
| 137 # IDs: | 137 # IDs: |
| 138 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
| 139 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 141 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
| 142 # For your editing convenience: highest ID currently used: 360 | 142 # For your editing convenience: highest ID currently used: 361 |
| 143 # And don't forget to also update the EnterprisePolicies enum of | 143 # And don't forget to also update the EnterprisePolicies enum of |
| 144 # histograms.xml. | 144 # histograms.xml. |
| 145 # | 145 # |
| 146 # Placeholders: | 146 # Placeholders: |
| 147 # The following placeholder strings are automatically substituted: | 147 # The following placeholder strings are automatically substituted: |
| 148 # $1 -> Google Chrome / Chromium | 148 # $1 -> Google Chrome / Chromium |
| 149 # $2 -> Google Chrome OS / Chromium OS | 149 # $2 -> Google Chrome OS / Chromium OS |
| 150 # $3 -> Google Chrome Frame / Chromium Frame | 150 # $3 -> Google Chrome Frame / Chromium Frame |
| 151 # $6 is reserved for doc_writer | 151 # $6 is reserved for doc_writer |
| 152 # | 152 # |
| (...skipping 8953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9106 'schema': { 'type': 'boolean' }, | 9106 'schema': { 'type': 'boolean' }, |
| 9107 'supported_on': ['chrome.*:52-', 'chrome_os:52-', 'android:52-'], | 9107 'supported_on': ['chrome.*:52-', 'chrome_os:52-', 'android:52-'], |
| 9108 'features': { | 9108 'features': { |
| 9109 'dynamic_refresh': False, | 9109 'dynamic_refresh': False, |
| 9110 'per_profile': True, | 9110 'per_profile': True, |
| 9111 }, | 9111 }, |
| 9112 'example_value': True, | 9112 'example_value': True, |
| 9113 'id': 333, | 9113 'id': 333, |
| 9114 'caption': '''Enables cast''', | 9114 'caption': '''Enables cast''', |
| 9115 'tags': [], | 9115 'tags': [], |
| 9116 'desc': '''If this is set to true or is not set, users will be able to cas t tabs, sites or the desktop from the browser. If set to false, this option will be disabled.''' | 9116 'desc': '''If this is set to true or is not set, users will be able to cas t tabs, sites or the desktop from the browser. If set to false, this option will be disabled.''' |
|
pastarmovj
2017/01/24 23:03:46
Please rework the description of this policy. This
takumif
2017/01/26 23:12:35
Replacing 'cast' with 'Google Cast' and putting a
pastarmovj
2017/01/26 23:18:13
I meant the Microsoft guidelines for documenting p
| |
| 9117 }, | 9117 }, |
| 9118 { | 9118 { |
| 9119 'name': 'ArcBackupRestoreEnabled', | 9119 'name': 'ArcBackupRestoreEnabled', |
| 9120 'type': 'main', | 9120 'type': 'main', |
| 9121 'schema': { 'type': 'boolean' }, | 9121 'schema': { 'type': 'boolean' }, |
| 9122 'supported_on': ['chrome_os:53-'], | 9122 'supported_on': ['chrome_os:53-'], |
| 9123 'features': { | 9123 'features': { |
| 9124 'dynamic_refresh': True, | 9124 'dynamic_refresh': True, |
| 9125 'per_profile': False, | 9125 'per_profile': False, |
| 9126 }, | 9126 }, |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9442 The policy should be speicified as a string that expresses the URL and has h in JSON format, e.g., | 9442 The policy should be speicified as a string that expresses the URL and has h in JSON format, e.g., |
| 9443 { | 9443 { |
| 9444 "url": "https://example.com/device_wallpaper.jpg", | 9444 "url": "https://example.com/device_wallpaper.jpg", |
| 9445 "hash": "examplewallpaperhash" | 9445 "hash": "examplewallpaperhash" |
| 9446 } | 9446 } |
| 9447 | 9447 |
| 9448 If the device wallpaper policy is set, the Chrome OS device will download and use the wallpaper image on the login screen if no user has yet signed in to the device. Once the user logs in, the user's wallpaper policy kicks in. | 9448 If the device wallpaper policy is set, the Chrome OS device will download and use the wallpaper image on the login screen if no user has yet signed in to the device. Once the user logs in, the user's wallpaper policy kicks in. |
| 9449 | 9449 |
| 9450 If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''', | 9450 If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''', |
| 9451 }, | 9451 }, |
| 9452 { | |
| 9453 'name': 'ShowCastIconInToolbar', | |
|
pastarmovj
2017/01/24 23:03:46
Please move this policy right after the EnableMedi
takumif
2017/01/26 23:12:35
Putting them in a group 'Google Cast'.
| |
| 9454 'type': 'main', | |
| 9455 'schema': { 'type': 'boolean' }, | |
| 9456 'supported_on': ['chrome.*:57-', 'chrome_os:57-'], | |
| 9457 'features': { | |
| 9458 'dynamic_refresh': False, | |
| 9459 'per_profile': True, | |
| 9460 }, | |
| 9461 'example_value': False, | |
| 9462 'id': 361, | |
| 9463 'caption': '''Shows the Cast toolbar icon''', | |
| 9464 'tags': [], | |
| 9465 'desc': '''If this policy is set to true, the Cast toolbar icon will alway s be shown on the toolbar or the overflow menu, and users will not be able to re move it. | |
| 9466 | |
| 9467 If this policy is set to false or not set, users will be able to pin or re move the icon via its contextual menu. | |
| 9468 | |
| 9469 If the policy "EnableMediaRouter" is set to false, then this policy's valu e would have no effect, and the toolbar icon would not be shown.''' | |
| 9470 }, | |
| 9452 ], | 9471 ], |
| 9453 'messages': { | 9472 'messages': { |
| 9454 # Messages that are not associated to any policies. | 9473 # Messages that are not associated to any policies. |
| 9455 'win_supported_winxpsp2': { | 9474 'win_supported_winxpsp2': { |
| 9456 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', | 9475 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', |
| 9457 'text': '''Microsoft Windows XP SP2 or later''' | 9476 'text': '''Microsoft Windows XP SP2 or later''' |
| 9458 }, | 9477 }, |
| 9459 'mac_chrome_preferences': { | 9478 'mac_chrome_preferences': { |
| 9460 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 9479 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
| 9461 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 9480 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9575 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 9594 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 9576 'text': 'Default Settings (users can override)', | 9595 'text': 'Default Settings (users can override)', |
| 9577 }, | 9596 }, |
| 9578 'doc_complex_policies_on_windows': { | 9597 'doc_complex_policies_on_windows': { |
| 9579 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 9598 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 9580 '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>' '', | 9599 '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>' '', |
| 9581 }, | 9600 }, |
| 9582 }, | 9601 }, |
| 9583 'placeholders': [], | 9602 'placeholders': [], |
| 9584 } | 9603 } |
| OLD | NEW |