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

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: 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
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: 134 115 # For your editing convenience: highest ID currently used: 135
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 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after
2427 'type': 'main', 2427 'type': 'main',
2428 'supported_on': ['chrome_os:19-'], 2428 'supported_on': ['chrome_os:19-'],
2429 'device_only': True, 2429 'device_only': True,
2430 'features': {'dynamic_refresh': True}, 2430 'features': {'dynamic_refresh': True},
2431 'example_value': True, 2431 'example_value': True,
2432 'id': 128, 2432 'id': 128,
2433 'caption': '''Wipe user data on sign-out''', 2433 'caption': '''Wipe user data on sign-out''',
2434 'desc': '''Determines whether Chrome OS keeps local account data after log out. If set to true, no persistent accounts are kept by <ph name="PRODUCT_OS_NAM E">$2<ex>Google Chrome OS</ex></ph> and all data from the user session will be d iscarded after logout. If this policy is set to false or not configured, the dev ice may keep (encrypted) local user data.''', 2434 'desc': '''Determines whether Chrome OS keeps local account data after log out. If set to true, no persistent accounts are kept by <ph name="PRODUCT_OS_NAM E">$2<ex>Google Chrome OS</ex></ph> and all data from the user session will be d iscarded after logout. If this policy is set to false or not configured, the dev ice may keep (encrypted) local user data.''',
2435 }, 2435 },
2436 { 2436 {
2437 'name': 'DeviceStartUpUrls',
2438 'type': 'list',
2439 'supported_on': ['chrome_os:19-'],
2440 'device_only': True,
2441 'features': {'dynamic_refresh': True},
2442 'example_value': [ 'http://google.com', 'chrome-extension://aaaaaaaaaaaaaa aaaaaaaaaa/' ],
2443 'id': 135,
Joao da Silva 2012/03/16 15:55:18 We have a race for this id :-)
pastarmovj 2012/03/19 14:20:49 Done.
2444 'caption': '''Load specified urls on demo login''',
2445 'desc': '''Determines the set of URLs to be loaded when the demo session i s started. This policy will override any other mechanisms for setting the initia l URL and thus can only be applied to a session not associated with a particular user.''',
Joao da Silva 2012/03/16 15:55:18 The first phrase should be the same as for the oth
pastarmovj 2012/03/19 14:20:49 Done.
2446 },
2447 {
2437 'name': 'DeviceIdleLogoutTimeout', 2448 'name': 'DeviceIdleLogoutTimeout',
2438 'type': 'int', 2449 'type': 'int',
2439 'supported_on': ['chrome_os:19-'], 2450 'supported_on': ['chrome_os:19-'],
2440 'device_only': True, 2451 'device_only': True,
2441 'features': {'dynamic_refresh': True}, 2452 'features': {'dynamic_refresh': True},
2442 'example_value': 60000, 2453 'example_value': 60000,
2443 'id': 130, 2454 'id': 130,
2444 'caption': '''Timeout until idle user log-out is executed''', 2455 'caption': '''Timeout until idle user log-out is executed''',
2445 'desc': '''This policy is active in retail mode only. 2456 'desc': '''This policy is active in retail mode only.
2446 2457
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2582 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2593 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2583 'text': 'deprecated', 2594 'text': 'deprecated',
2584 }, 2595 },
2585 'doc_recommended': { 2596 'doc_recommended': {
2586 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2597 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2587 'text': 'Recommended', 2598 'text': 'Recommended',
2588 }, 2599 },
2589 }, 2600 },
2590 'placeholders': [], 2601 'placeholders': [],
2591 } 2602 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros_settings_names.h » ('j') | chrome/browser/chromeos/device_settings_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698