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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 # templates and documentation. The policy definition list that Chrome sees | 105 # templates and documentation. The policy definition list that Chrome sees |
| 106 # will include policies marked with 'future'. If a WIP policy isn't meant to | 106 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 107 # be seen by the policy providers either, the 'supported_on' key should be set | 107 # be seen by the policy providers either, the 'supported_on' key should be set |
| 108 # to an empty list. | 108 # to an empty list. |
| 109 # | 109 # |
| 110 # IDs: | 110 # IDs: |
| 111 # Since a Protocol Buffer definition is generated from this file, unique and | 111 # Since a Protocol Buffer definition is generated from this file, unique and |
| 112 # persistent IDs for all fields (but not for groups!) are needed. These are | 112 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 114 # because doing so would break the deployed wire format! | 114 # because doing so would break the deployed wire format! |
| 115 # For your editing convenience: highest ID currently used: 171 | 115 # For your editing convenience: highest ID currently used: 172 |
| 116 # | 116 # |
| 117 # Placeholders: | 117 # Placeholders: |
| 118 # The following placeholder strings are automatically substituted: | 118 # The following placeholder strings are automatically substituted: |
| 119 # $1 -> Google Chrome / Chromium | 119 # $1 -> Google Chrome / Chromium |
| 120 # $2 -> Google Chrome OS / Chromium OS | 120 # $2 -> Google Chrome OS / Chromium OS |
| 121 # $3 -> Google Chrome Frame / Chromium Frame | 121 # $3 -> Google Chrome Frame / Chromium Frame |
| 122 # $6 is reserved for doc_writer | 122 # $6 is reserved for doc_writer |
| 123 # | 123 # |
| 124 # Device Policy: | 124 # Device Policy: |
| 125 # An additional flag device_only (optional, defaults to False) indicates | 125 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 3743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3869 'desc': '''Limit the maximum length of a user session. | 3869 'desc': '''Limit the maximum length of a user session. |
| 3870 | 3870 |
| 3871 When this policy is set, it specifies the length of time after which a use r is automatically logged out, terminating the session. The user is informed abo ut the remaining time by a countdown timer shown in the system tray. | 3871 When this policy is set, it specifies the length of time after which a use r is automatically logged out, terminating the session. The user is informed abo ut the remaining time by a countdown timer shown in the system tray. |
| 3872 | 3872 |
| 3873 When this policy is not set, the session length is not limited. | 3873 When this policy is not set, the session length is not limited. |
| 3874 | 3874 |
| 3875 If you set this policy, users cannot change or override it. | 3875 If you set this policy, users cannot change or override it. |
| 3876 | 3876 |
| 3877 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''', | 3877 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''', |
| 3878 }, | 3878 }, |
| 3879 { | |
| 3880 'name': 'DeviceChromeOsRegistrationEnabled', | |
|
oscarpan
2013/02/02 01:50:56
The policy was named ***Disabled, but presubmit ch
xiyuan
2013/02/02 07:49:27
Please update extension api as well. I found it's
oscarpan
2013/02/02 21:52:35
Ok, I will fix it in my new patch.
| |
| 3881 'type': 'main', | |
| 3882 'schema': { 'type': 'boolean' }, | |
| 3883 'supported_on': ['chrome.*:26-'], | |
|
Mattias Nissler (ping if slow)
2013/02/04 09:06:19
Shouldn't this be 'chrome_os.*:26-'?
oscarpan
2013/02/05 00:17:47
Done.
| |
| 3884 'device_only': True, | |
| 3885 'features': { | |
| 3886 'dynamic_refresh': True, | |
| 3887 }, | |
| 3888 'example_value': True, | |
| 3889 'id': 172, | |
| 3890 'caption': '''Enable Chrome OS Registration''', | |
| 3891 'desc': '''Enable Chrome OS Registration. | |
|
Mattias Nissler (ping if slow)
2013/02/04 09:06:19
So "Chrome OS Registration" is the official term f
oscarpan
2013/02/05 00:17:47
Done.
| |
| 3892 | |
| 3893 If this policy is set to true, Chrome OS Registration will be enabled. | |
| 3894 | |
| 3895 If this policy is set to false, Chrome OS Registration will be disabled, a nd user will not be able to use Goodies to redeem offers. | |
|
Mattias Nissler (ping if slow)
2013/02/04 09:06:19
Playing dump admin again: What are Goodies and off
oscarpan
2013/02/05 00:17:47
Done.
| |
| 3896 | |
| 3897 If this policy is left not set, Chrome OS Registration will not be disable d.''', | |
|
xiyuan
2013/02/02 07:49:27
I don't understand this. "will no be disabled" mea
oscarpan
2013/02/02 21:52:35
Yes, I mean "will be enabled", will fix it in my n
Mattias Nissler (ping if slow)
2013/02/04 09:06:19
If there's no difference between set to true and u
oscarpan
2013/02/05 00:17:47
Done.
oscarpan
2013/02/05 00:17:47
Done.
| |
| 3898 }, | |
| 3879 ], | 3899 ], |
| 3880 'messages': { | 3900 'messages': { |
| 3881 # Messages that are not associated to any policies. | 3901 # Messages that are not associated to any policies. |
| 3882 'win_supported_winxpsp2': { | 3902 'win_supported_winxpsp2': { |
| 3883 '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:'.''', | 3903 '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:'.''', |
| 3884 'text': '''Microsoft Windows XP SP2 or later''' | 3904 'text': '''Microsoft Windows XP SP2 or later''' |
| 3885 }, | 3905 }, |
| 3886 'mac_chrome_preferences': { | 3906 'mac_chrome_preferences': { |
| 3887 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', | 3907 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', |
| 3888 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 3908 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3971 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 3991 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 3972 'text': 'deprecated', | 3992 'text': 'deprecated', |
| 3973 }, | 3993 }, |
| 3974 'doc_recommended': { | 3994 'doc_recommended': { |
| 3975 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 3995 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 3976 'text': 'Default Settings (users can override)', | 3996 'text': 'Default Settings (users can override)', |
| 3977 }, | 3997 }, |
| 3978 }, | 3998 }, |
| 3979 'placeholders': [], | 3999 'placeholders': [], |
| 3980 } | 4000 } |
| OLD | NEW |