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

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

Issue 23376002: Move ManagedModePolicyProvider functionality to ManagedUserSettingsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 3 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 5359 matching lines...) Expand 10 before | Expand all | Expand 10 after
5370 }, 5370 },
5371 { 5371 {
5372 'name': 'LocallyManagedUsers', 5372 'name': 'LocallyManagedUsers',
5373 'type': 'group', 5373 'type': 'group',
5374 'caption': '''Locally managed users settings''', 5374 'caption': '''Locally managed users settings''',
5375 'desc': '''Configure settings for managed users.''', 5375 'desc': '''Configure settings for managed users.''',
5376 'policies': [ 5376 'policies': [
5377 { 5377 {
5378 'name': 'ContentPackDefaultFilteringBehavior', 5378 'name': 'ContentPackDefaultFilteringBehavior',
5379 'future': True, 5379 'future': True,
5380 'deprecated': True,
5380 'type': 'int-enum', 5381 'type': 'int-enum',
5381 'schema': { 5382 'schema': {
5382 'type': 'integer', 5383 'type': 'integer',
5383 'enum': [ 0, 1, 2 ], 5384 'enum': [ 0, 1, 2 ],
5384 }, 5385 },
5385 'items': [ 5386 'items': [
5386 { 5387 {
5387 'name': 'Allow', 5388 'name': 'Allow',
5388 'value': 0, 5389 'value': 0,
5389 'caption': '''Allow access to sites outside of content packs.''', 5390 'caption': '''Allow access to sites outside of content packs.''',
(...skipping 17 matching lines...) Expand all
5407 'example_value': 2, 5408 'example_value': 2,
5408 'id': 204, 5409 'id': 204,
5409 'caption': '''Default behavior for sites not in any content pack''', 5410 'caption': '''Default behavior for sites not in any content pack''',
5410 'desc': '''The default behavior for sites not in any content pack. 5411 'desc': '''The default behavior for sites not in any content pack.
5411 5412
5412 This policy is for internal use by Chrome itself.''', 5413 This policy is for internal use by Chrome itself.''',
5413 }, 5414 },
5414 { 5415 {
5415 'name': 'ContentPackManualBehaviorHosts', 5416 'name': 'ContentPackManualBehaviorHosts',
5416 'future': True, 5417 'future': True,
5418 'deprecated': True,
5417 'type': 'dict', 5419 'type': 'dict',
5418 'schema': { 5420 'schema': {
5419 'type': 'object', 5421 'type': 'object',
5420 'additionalProperties': { 5422 'additionalProperties': {
5421 'type': 'boolean' 5423 'type': 'boolean'
5422 } 5424 }
5423 }, 5425 },
5424 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'], 5426 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'],
5425 'features': { 5427 'features': {
5426 'dynamic_refresh': True, 5428 'dynamic_refresh': True,
5427 'per_profile': True 5429 'per_profile': True
5428 }, 5430 },
5429 'example_value': { 5431 'example_value': {
5430 'www.example.com': True, 5432 'www.example.com': True,
5431 'moose.org': False 5433 'moose.org': False
5432 }, 5434 },
5433 'id': 205, 5435 'id': 205,
5434 'caption': '''Managed user manual exception hosts''', 5436 'caption': '''Managed user manual exception hosts''',
5435 'desc': '''A dictionary mapping hostnames to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false). 5437 'desc': '''A dictionary mapping hostnames to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5436 5438
5437 This policy is for internal use by Chrome itself.''', 5439 This policy is for internal use by Chrome itself.''',
5438 }, 5440 },
5439 { 5441 {
5440 'name': 'ContentPackManualBehaviorURLs', 5442 'name': 'ContentPackManualBehaviorURLs',
5441 'future': True, 5443 'future': True,
5444 'deprecated': True,
5442 'type': 'dict', 5445 'type': 'dict',
5443 'schema': { 5446 'schema': {
5444 'type': 'object', 5447 'type': 'object',
5445 'additionalProperties': { 5448 'additionalProperties': {
5446 'type': 'boolean' 5449 'type': 'boolean'
5447 } 5450 }
5448 }, 5451 },
5449 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'], 5452 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'],
5450 'features': { 5453 'features': {
5451 'dynamic_refresh': True, 5454 'dynamic_refresh': True,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
5646 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5649 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5647 'text': 'deprecated', 5650 'text': 'deprecated',
5648 }, 5651 },
5649 'doc_recommended': { 5652 'doc_recommended': {
5650 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5653 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5651 'text': 'Default Settings (users can override)', 5654 'text': 'Default Settings (users can override)',
5652 }, 5655 },
5653 }, 5656 },
5654 'placeholders': [], 5657 'placeholders': [],
5655 } 5658 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | chrome/browser/profiles/profile_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698