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

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

Issue 12209091: Add a policy and pref to control whether deleting browsing and download history is allowed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Renamed policy and pref Created 7 years, 10 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
« 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: 186 115 # For your editing convenience: highest ID currently used: 187
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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 'example_value': True, 430 'example_value': True,
431 'id': 11, 431 'id': 11,
432 'caption': '''Disable saving browser history''', 432 'caption': '''Disable saving browser history''',
433 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting. 433 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting.
434 434
435 If this setting is enabled, browsing history is not saved. 435 If this setting is enabled, browsing history is not saved.
436 436
437 If this setting is disabled or not set, browsing history is saved.''', 437 If this setting is disabled or not set, browsing history is saved.''',
438 }, 438 },
439 { 439 {
440 'name': 'AllowDeletingBrowserHistory',
441 'future': True,
442 'type': 'main',
443 'schema': { 'type': 'boolean' },
444 # TODO(pamg): Restore the correct 'supported' line when the UI properly
445 # shows that deleting browser history is disabled. Also fix the 'os' line
446 # in policy_test_cases.json.
447 # 'supported_on': ['chrome.*:27-', 'chrome_os:0.27-'],
448 'supported_on': [],
449 'features': {
450 'dynamic_refresh': True,
451 'per_profile': True,
452 },
453 'example_value': True,
454 'id': 187,
455 'caption': '''Enable deleting browser and download history''',
456 'desc': '''Enables deleting browser history and download history in <ph na me="PRODUCT_NAME">$<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
457
458 Note that even with this policy disabled, the browsing and download histor y are not guaranteed to be retained: users may be able to edit or delete the his tory database files directly, and the browser itself may expire or archive any o r all history items at any time.
459
460 If this setting is enabled or not set, browsing and download history can b e deleted.
461
462 If this setting is disabled, browsing and download history cannot be delet ed.''',
463 },
464 {
440 'name': 'RemoteAccess', 465 'name': 'RemoteAccess',
441 'type': 'group', 466 'type': 'group',
442 'caption': '''Configure remote access options''', 467 'caption': '''Configure remote access options''',
443 'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph>. 468 'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph>.
444 469
445 These features are ignored unless the Remote Access web application is ins talled.''', 470 These features are ignored unless the Remote Access web application is ins talled.''',
446 'policies': [ 471 'policies': [
447 { 472 {
448 'name': 'RemoteAccessClientFirewallTraversal', 473 'name': 'RemoteAccessClientFirewallTraversal',
449 'type': 'main', 474 'type': 'main',
(...skipping 3889 matching lines...) Expand 10 before | Expand all | Expand 10 after
4339 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4364 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
4340 'text': 'deprecated', 4365 'text': 'deprecated',
4341 }, 4366 },
4342 'doc_recommended': { 4367 'doc_recommended': {
4343 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4368 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
4344 'text': 'Default Settings (users can override)', 4369 'text': 'Default Settings (users can override)',
4345 }, 4370 },
4346 }, 4371 },
4347 'placeholders': [], 4372 'placeholders': [],
4348 } 4373 }
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