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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 10694037: Add a policy to disable proceeding through the Safe Browsing interstitials. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed self-closing <img> tags Created 8 years, 5 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 | « no previous file | chrome/browser/policy/configuration_policy_handler_list.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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 149 115 # For your editing convenience: highest ID currently used: 150
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 2595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2721 'desc': '''Lists the application identifiers <ph name="PRODUCT_OS_NAME">$2 <ex>Google Chrome OS</ex></ph> shows as pinned apps in the launcher bar. 2721 'desc': '''Lists the application identifiers <ph name="PRODUCT_OS_NAME">$2 <ex>Google Chrome OS</ex></ph> shows as pinned apps in the launcher bar.
2722 2722
2723 If this policy is configured, the set of applications is fixed and can't b e changed by the user. 2723 If this policy is configured, the set of applications is fixed and can't b e changed by the user.
2724 2724
2725 If this policy is left unset, the user may change the list of pinned apps in the launcher.''', 2725 If this policy is left unset, the user may change the list of pinned apps in the launcher.''',
2726 }, 2726 },
2727 { 2727 {
2728 'name': 'RestrictSigninToPattern', 2728 'name': 'RestrictSigninToPattern',
2729 'type': 'string', 2729 'type': 'string',
2730 'supported_on': ['chrome.*:21-'], 2730 'supported_on': ['chrome.*:21-'],
2731 'features': { 2731 'features': {'dynamic_refresh': True},
2732 'dynamic_refresh': True,
2733 },
2734 'example_value': '*@domain.com', 2732 'example_value': '*@domain.com',
2735 'id': 147, 2733 'id': 147,
2736 'caption': '''Restrict which users are allowed to sign in to <ph name="PRO DUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', 2734 'caption': '''Restrict which users are allowed to sign in to <ph name="PRO DUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
2737 'desc': '''Contains a regular expression which is used to determine which users can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 2735 'desc': '''Contains a regular expression which is used to determine which users can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2738 2736
2739 An appropriate error is displayed if a user tries to log in with a usernam e that does not match this pattern. 2737 An appropriate error is displayed if a user tries to log in with a usernam e that does not match this pattern.
2740 2738
2741 If this policy is left not set or blank, then any user can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', 2739 If this policy is left not set or blank, then any user can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
2742 }, 2740 },
2741 {
2742 'name': 'DisableSafeBrowsingProceedAnyway',
2743 'type': 'main',
2744 'supported_on': ['chrome.*:22-', 'chrome_os:0.22-'],
2745 'features': {'dynamic_refresh': True},
2746 'example_value': True,
2747 'id': 150,
2748 'caption': '''Disable proceeding from the Safe Browsing warning page''',
2749 'desc': '''Disable proceeding from the Safe Browsing warning page.
2750
2751 The Safe Browsing service shows a warning page when users navigate to site s that are flagged as potentially mallicious. Enabling this setting prevents use rs from proceeding anyway from the warning page to the malicious site.
2752
2753 If this setting is disabled or not configured then users can choose to pro ceed to the flagged site after being shown the warning.''',
2754 },
2743 ], 2755 ],
2744 'messages': { 2756 'messages': {
2745 # Messages that are not associated to any policies. 2757 # Messages that are not associated to any policies.
2746 'win_supported_winxpsp2': { 2758 'win_supported_winxpsp2': {
2747 '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:'.''', 2759 '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:'.''',
2748 'text': '''Microsoft Windows XP SP2 or later''' 2760 'text': '''Microsoft Windows XP SP2 or later'''
2749 }, 2761 },
2750 'mac_chrome_preferences': { 2762 'mac_chrome_preferences': {
2751 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 2763 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
2752 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 2764 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
2831 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2843 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2832 'text': 'deprecated', 2844 'text': 'deprecated',
2833 }, 2845 },
2834 'doc_recommended': { 2846 'doc_recommended': {
2835 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2847 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2836 'text': 'Recommended', 2848 'text': 'Recommended',
2837 }, 2849 },
2838 }, 2850 },
2839 'placeholders': [], 2851 'placeholders': [],
2840 } 2852 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698