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

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: Add a SafeSearch preference, policy and implementation. Created 8 years, 2 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 | Annotate | Revision Log
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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> p roxy''', 550 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> p roxy''',
551 '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. 551 '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.
552 552
553 If this setting is enabled or not configured, users can enable the cloud p rint proxy by authentication with their Google account. 553 If this setting is enabled or not configured, users can enable the cloud p rint proxy by authentication with their Google account.
554 554
555 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>. 555 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>.
556 556
557 If this policy is left not set, this will be enabled but the user will be able to change it.''', 557 If this policy is left not set, this will be enabled but the user will be able to change it.''',
558 }, 558 },
559 { 559 {
560 'name': 'SafeSearchEnabled',
Bernhard Bauer 2012/10/16 16:37:33 I would be happier if we called this "ForceSafeSea
Sergiu 2012/10/17 14:48:58 Done.
561 'type': 'main',
562 'schema': { 'type': 'boolean' },
563 'supported_on': ['chrome.*:24-', 'chrome_os:0.24-'],
564 'features': {
565 'dynamic_refresh': True,
566 'can_be_recommended': False,
567 },
568 'example_value': False,
569 'id': 162,
570 'caption': '''Enable SafeSearch''',
571 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s SafeSearch feature and prevents users from changing this setting.
Joao da Silva 2012/10/16 16:26:46 SafeSearch is not a Google Chrome feature, it's a
Sergiu 2012/10/17 14:48:58 Done.
572
573 If you enable this setting, SafeSearch in Google Search is always active.
574
575 If you disable this setting, SafeSearch in Google Search is not enforced.
576
577 If you enable or disable this setting, users cannot change or override thi s setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
Bernhard Bauer 2012/10/16 16:37:33 This setting is not accessible to users at all.
Sergiu 2012/10/17 14:48:58 Done.
578
579 If this policy is left not set users will be able to choose their own Safe Search setting''',
Joao da Silva 2012/10/16 16:26:46 End the sentence with a dot.
Sergiu 2012/10/17 14:48:58 Done.
580 },
581 {
560 'name': 'SafeBrowsingEnabled', 582 'name': 'SafeBrowsingEnabled',
561 'type': 'main', 583 'type': 'main',
562 'schema': { 'type': 'boolean' }, 584 'schema': { 'type': 'boolean' },
563 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 585 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
564 'features': { 586 'features': {
565 'dynamic_refresh': True, 587 'dynamic_refresh': True,
566 'can_be_recommended': True, 588 'can_be_recommended': True,
567 }, 589 },
568 'example_value': True, 590 'example_value': True,
569 'id': 14, 591 'id': 14,
(...skipping 2774 matching lines...) Expand 10 before | Expand all | Expand 10 after
3344 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 3366 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3345 'text': 'deprecated', 3367 'text': 'deprecated',
3346 }, 3368 },
3347 'doc_recommended': { 3369 'doc_recommended': {
3348 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 3370 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3349 'text': 'Recommended', 3371 'text': 'Recommended',
3350 }, 3372 },
3351 }, 3373 },
3352 'placeholders': [], 3374 'placeholders': [],
3353 } 3375 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698