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

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

Issue 6534021: Implemented a policy to match the ClearSiteDataOnExit pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added the mac implementation and rebased to ToT. Created 9 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 # Annotations: 84 # Annotations:
85 # Additional information is specified under keys 'features' and 85 # Additional information is specified under keys 'features' and
86 # 'example_value'. These are used in the generated documentation and example 86 # 'example_value'. These are used in the generated documentation and example
87 # policy configuration files. 87 # policy configuration files.
88 # 88 #
89 # IDs: 89 # IDs:
90 # Since a Protocol Buffer definition is generated from this file, unique and 90 # Since a Protocol Buffer definition is generated from this file, unique and
91 # persistent IDs for all fields (but not for groups!) are needed. These are 91 # persistent IDs for all fields (but not for groups!) are needed. These are
92 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 92 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
93 # because doing so would break the deployed wire format! 93 # because doing so would break the deployed wire format!
94 # For your editing convenience: highest ID currently used: 64 94 # For your editing convenience: highest ID currently used: 65
95 # 95 #
96 'policy_definitions': [ 96 'policy_definitions': [
97 { 97 {
98 'name': 'Homepage', 98 'name': 'Homepage',
99 'type': 'group', 99 'type': 'group',
100 'caption': '''Home page''', 100 'caption': '''Home page''',
101 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it. 101 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it.
102 102
103 The user's home page settings are only completely locked down, if you eith er select the home page to be the new tab page, or set it to be a URL and specif y a home page URL. If you don't specify the home page URL, then the user is stil l able to set the home page to the new tab page by specifying 'chrome://newtab'. ''', 103 The user's home page settings are only completely locked down, if you eith er select the home page to be the new tab page, or set it to be a URL and specif y a home page URL. If you don't specify the home page URL, then the user is stil l able to set the home page to the new tab page by specifying 'chrome://newtab'. ''',
104 'policies': [ 104 'policies': [
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 'features': {'dynamic_refresh': 1}, 425 'features': {'dynamic_refresh': 1},
426 'example_value': '${user_home}\Chrome', 426 'example_value': '${user_home}\Chrome',
427 'id': 64, 427 'id': 64,
428 'caption': '''Set download directory''', 428 'caption': '''Set download directory''',
429 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for downloading files. 429 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Goo gle Chrome</ex></ph> will use for downloading files.
430 430
431 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided directory regardless whether the user has specified on e or enabled the flag to be prompted for download location every time.''', 431 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided directory regardless whether the user has specified on e or enabled the flag to be prompted for download location every time.''',
432 'label': '''Set download directory''', 432 'label': '''Set download directory''',
433 }, 433 },
434 { 434 {
435 'name': 'ClearSiteDataOnExit',
436 'type': 'main',
437 'supported_on': ['chrome.*:11-', 'chrome_os.*:1.0.0.0-'],
438 'features': {'dynamic_refresh': 1},
439 'example_value': True,
440 'id': 65,
441 'caption': '''Clear site date on browser shutdown''',
442 'desc': '''When set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will delete all locally stored data from the browser.''',
Mattias Nissler (ping if slow) 2011/02/17 16:41:47 maybe add "upon shutdown". Maybe be more specific
443 'label': '''Clear site date on browser shutdown''',
444 },
445 {
435 'name': 'Proxy', 446 'name': 'Proxy',
436 'type': 'group', 447 'type': 'group',
437 'caption': '''Proxy server''', 448 'caption': '''Proxy server''',
438 'desc': '''Allows you to specify the proxy server used by <ph name="PRODUC T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy set tings. 449 'desc': '''Allows you to specify the proxy server used by <ph name="PRODUC T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy set tings.
439 450
440 If you choose to never use a proxy server and always connect directly, all other options are ignored. 451 If you choose to never use a proxy server and always connect directly, all other options are ignored.
441 452
442 If you choose to auto detect the proxy server, all other options are ignor ed. 453 If you choose to auto detect the proxy server, all other options are ignor ed.
443 454
444 For detailed examples, visit: 455 For detailed examples, visit:
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 { 1334 {
1324 'key': '$4', 1335 'key': '$4',
1325 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 1336 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
1326 }, 1337 },
1327 { 1338 {
1328 'key': '$5', 1339 'key': '$5',
1329 'value': 'http://www.chromium.org/administrators/policy-templates' 1340 'value': 'http://www.chromium.org/administrators/policy-templates'
1330 }, 1341 },
1331 ] 1342 ]
1332 } 1343 }
OLDNEW
« no previous file with comments | « chrome/app/nibs/ContentSettings.xib ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698