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

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

Issue 9704092: Adds a device policy to specify the set of initial urls for the demo user account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed issues and rebases to ToT. Created 8 years, 9 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/chromeos/cros_settings_names.h » ('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: 136 115 # For your editing convenience: highest ID currently used: 137
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 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 'type': 'main', 2428 'type': 'main',
2429 'supported_on': ['chrome_os:19-'], 2429 'supported_on': ['chrome_os:19-'],
2430 'device_only': True, 2430 'device_only': True,
2431 'features': {'dynamic_refresh': True}, 2431 'features': {'dynamic_refresh': True},
2432 'example_value': True, 2432 'example_value': True,
2433 'id': 128, 2433 'id': 128,
2434 'caption': '''Wipe user data on sign-out''', 2434 'caption': '''Wipe user data on sign-out''',
2435 'desc': '''Determines whether <ph name="PRODUCT_OS_NAME">$2<ex>Google Chro me OS</ex></ph> keeps local account data after logout. If set to true, no persis tent accounts are kept by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex> </ph> and all data from the user session will be discarded after logout. If this policy is set to false or not configured, the device may keep (encrypted) local user data.''', 2435 'desc': '''Determines whether <ph name="PRODUCT_OS_NAME">$2<ex>Google Chro me OS</ex></ph> keeps local account data after logout. If set to true, no persis tent accounts are kept by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex> </ph> and all data from the user session will be discarded after logout. If this policy is set to false or not configured, the device may keep (encrypted) local user data.''',
2436 }, 2436 },
2437 { 2437 {
2438 'name': 'DeviceStartUpUrls',
2439 'type': 'list',
2440 'supported_on': ['chrome_os:19-'],
2441 'device_only': True,
2442 'features': {'dynamic_refresh': True},
2443 'example_value': [ 'http://google.com', 'chrome-extension://aaaaaaaaaaaaaa aaaaaaaaaa/' ],
2444 'id': 137,
2445 'caption': '''Load specified urls on demo login''',
2446 'desc': '''This policy is active in retail mode only.
2447
2448 Determines the set of URLs to be loaded when the demo session is started. This policy will override any other mechanisms for setting the initial URL and t hus can only be applied to a session not associated with a particular user.''',
2449 },
2450 {
2438 'name': 'DeviceIdleLogoutTimeout', 2451 'name': 'DeviceIdleLogoutTimeout',
2439 'type': 'int', 2452 'type': 'int',
2440 'supported_on': ['chrome_os:19-'], 2453 'supported_on': ['chrome_os:19-'],
2441 'device_only': True, 2454 'device_only': True,
2442 'features': {'dynamic_refresh': True}, 2455 'features': {'dynamic_refresh': True},
2443 'example_value': 60000, 2456 'example_value': 60000,
2444 'id': 130, 2457 'id': 130,
2445 'caption': '''Timeout until idle user log-out is executed''', 2458 'caption': '''Timeout until idle user log-out is executed''',
2446 'desc': '''This policy is active in retail mode only. 2459 'desc': '''This policy is active in retail mode only.
2447 2460
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
2611 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2624 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2612 'text': 'deprecated', 2625 'text': 'deprecated',
2613 }, 2626 },
2614 'doc_recommended': { 2627 'doc_recommended': {
2615 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2628 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2616 'text': 'Recommended', 2629 'text': 'Recommended',
2617 }, 2630 },
2618 }, 2631 },
2619 'placeholders': [], 2632 'placeholders': [],
2620 } 2633 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698