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

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

Issue 11186002: Add a SafeSearch preference, policy and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased with the latest tree version Created 8 years, 1 month 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/extensions/api/web_request/web_request_api_unittest.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: 161 115 # For your editing convenience: highest ID currently used: 162
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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> p roxy''', 546 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> p roxy''',
547 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> t o act as a proxy between <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> and legacy printers connected to the machine. 547 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> t o act as a proxy between <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> and legacy printers connected to the machine.
548 548
549 If this setting is enabled or not configured, users can enable the cloud p rint proxy by authentication with their Google account. 549 If this setting is enabled or not configured, users can enable the cloud p rint proxy by authentication with their Google account.
550 550
551 If this setting is disabled, users cannot enable the proxy, and the machin e will not be allowed to share it's printers with <ph name="CLOUD_PRINT_NAME">Go ogle Cloud Print</ph>. 551 If this setting is disabled, users cannot enable the proxy, and the machin e will not be allowed to share it's printers with <ph name="CLOUD_PRINT_NAME">Go ogle Cloud Print</ph>.
552 552
553 If this policy is left not set, this will be enabled but the user will be able to change it.''', 553 If this policy is left not set, this will be enabled but the user will be able to change it.''',
554 }, 554 },
555 { 555 {
556 'name': 'ForceSafeSearch',
557 'type': 'main',
558 'schema': { 'type': 'boolean' },
559 'supported_on': ['chrome.*:24-', 'chrome_os:0.24-'],
560 'features': {
561 'dynamic_refresh': True,
562 'can_be_recommended': False,
563 },
564 'example_value': False,
565 'id': 162,
566 'caption': '''Force SafeSearch''',
567 'desc': '''Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting.
568
569 If you enable this setting, SafeSearch in Google Search is always active.
570
571 If you disable this setting, SafeSearch in Google Search is not enforced.' '',
Bernhard Bauer 2012/11/12 09:25:32 Post-commit comment: This should probably be "If t
572 },
573 {
556 'name': 'SafeBrowsingEnabled', 574 'name': 'SafeBrowsingEnabled',
557 'type': 'main', 575 'type': 'main',
558 'schema': { 'type': 'boolean' }, 576 'schema': { 'type': 'boolean' },
559 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 577 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
560 'features': { 578 'features': {
561 'dynamic_refresh': True, 579 'dynamic_refresh': True,
562 'can_be_recommended': True, 580 'can_be_recommended': True,
563 }, 581 },
564 'example_value': True, 582 'example_value': True,
565 'id': 14, 583 'id': 14,
(...skipping 2773 matching lines...) Expand 10 before | Expand all | Expand 10 after
3339 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 3357 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3340 'text': 'deprecated', 3358 'text': 'deprecated',
3341 }, 3359 },
3342 'doc_recommended': { 3360 'doc_recommended': {
3343 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 3361 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3344 'text': 'Recommended', 3362 'text': 'Recommended',
3345 }, 3363 },
3346 }, 3364 },
3347 'placeholders': [], 3365 'placeholders': [],
3348 } 3366 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_request/web_request_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698