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

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

Issue 9668001: Add a new policy to allow for release channel delegation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT rebase. 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: 133 115 # For your editing convenience: highest ID currently used: 134
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 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 'example_value': 3600000, 1981 'example_value': 3600000,
1982 'id': 90, 1982 'id': 90,
1983 'caption': '''Refresh rate for Device Policy''', 1983 'caption': '''Refresh rate for Device Policy''',
1984 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information. 1984 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information.
1985 1985
1986 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). A ny values not in this range will be clamped to the respective boundary. 1986 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). A ny values not in this range will be clamped to the respective boundary.
1987 1987
1988 Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> use the default value of 3 hours.''', 1988 Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> use the default value of 3 hours.''',
1989 }, 1989 },
1990 { 1990 {
1991 'name': 'ChromeOsReleaseChannel',
1992 'type': 'string-enum',
1993 'items': [
1994 {
1995 'name': 'StableChannel',
1996 'value': 'stable-channel',
1997 'caption': '''Stable channel'''
1998 },
1999 {
2000 'name': 'BetaChannel',
2001 'value': 'beta-channel',
2002 'caption': '''Beta channel'''
2003 },
2004 {
2005 'name': 'DevChannel',
2006 'value': 'dev-channel',
2007 'caption': '''Dev channel (may be unstable)'''
2008 }
2009 ],
2010 'supported_on': ['chrome_os:0.11-'],
2011 'device_only': True,
2012 'features': {'dynamic_refresh': True},
2013 'example_value': 'stable-channel',
2014 'id': 91,
2015 'caption': '''Release channel''',
2016 'desc': '''Specifies the release channel that this device should be locked to.'''
2017 },
2018 {
2019 'name': 'ImportBookmarks', 1991 'name': 'ImportBookmarks',
2020 'type': 'main', 1992 'type': 'main',
2021 'supported_on': ['chrome.*:15-'], 1993 'supported_on': ['chrome.*:15-'],
2022 'features': { 1994 'features': {
2023 'dynamic_refresh': True, 1995 'dynamic_refresh': True,
2024 'can_be_recommended': True, 1996 'can_be_recommended': True,
2025 }, 1997 },
2026 'example_value': True, 1998 'example_value': True,
2027 'id': 97, 1999 'id': 97,
2028 'caption': '''Import bookmarks from default browser on first run''', 2000 'caption': '''Import bookmarks from default browser on first run''',
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
2404 'type': 'main', 2376 'type': 'main',
2405 'supported_on': ['chrome_os:14-'], 2377 'supported_on': ['chrome_os:14-'],
2406 'device_only': True, 2378 'device_only': True,
2407 'features': {'dynamic_refresh': True}, 2379 'features': {'dynamic_refresh': True},
2408 'example_value': True, 2380 'example_value': True,
2409 'id': 127, 2381 'id': 127,
2410 'caption': '''Enable metrics reporting''', 2382 'caption': '''Enable metrics reporting''',
2411 'desc': '''Controls whether usage metrics are reported back to Google. If set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will re port usage metrics. If not configured or set to false, metrics reporting will be disabled.''', 2383 'desc': '''Controls whether usage metrics are reported back to Google. If set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will re port usage metrics. If not configured or set to false, metrics reporting will be disabled.''',
2412 }, 2384 },
2413 { 2385 {
2386 'name': 'ChromeOsReleaseChannel',
2387 'type': 'string-enum',
2388 'items': [
2389 {
2390 'name': 'StableChannel',
2391 'value': 'stable-channel',
2392 'caption': '''Stable channel'''
2393 },
2394 {
2395 'name': 'BetaChannel',
2396 'value': 'beta-channel',
2397 'caption': '''Beta channel'''
2398 },
2399 {
2400 'name': 'DevChannel',
2401 'value': 'dev-channel',
2402 'caption': '''Dev channel (may be unstable)'''
2403 }
2404 ],
2405 'supported_on': ['chrome_os:0.11-'],
2406 'device_only': True,
2407 'features': {'dynamic_refresh': True},
2408 'example_value': 'stable-channel',
2409 'id': 91,
2410 'caption': '''Release channel''',
2411 'desc': '''Specifies the release channel that this device should be locked to.'''
2412 },
2413 {
2414 'name': 'ChromeOsReleaseChannelDelegated',
2415 'type': 'main',
2416 'supported_on': ['chrome_os:0.19-'],
2417 'features': {'dynamic_refresh': True},
2418 'example_value': False,
2419 'id': 134,
2420 'caption': '''Wether the release channel should be settable by the user or locked.''',
2421 'desc': '''If this policy is set to True and the ChromeOsReleaseChannel po licy is not specified the users of the enrolling domain will be allowed to chang e the release channel of the device. If this policy is set to false the device w ill be locked in whatever channel it was last set.
2422
2423 The user selected channel will be overriden by the ChromeOsReleaseChannel policy but if the policy channel is more stable than the one that was installed on the device, channel switch might will only after the version of the more stab le channel reaches number higher than the one installed on the device.''',
2424 },
2425 {
2414 'name': 'DeviceEphemeralUsersEnabled', 2426 'name': 'DeviceEphemeralUsersEnabled',
2415 'type': 'main', 2427 'type': 'main',
2416 'supported_on': ['chrome_os:19-'], 2428 'supported_on': ['chrome_os:19-'],
2417 'device_only': True, 2429 'device_only': True,
2418 'features': {'dynamic_refresh': True}, 2430 'features': {'dynamic_refresh': True},
2419 'example_value': True, 2431 'example_value': True,
2420 'id': 128, 2432 'id': 128,
2421 'caption': '''Wipe user data on sign-out''', 2433 'caption': '''Wipe user data on sign-out''',
2422 '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.''',
2423 }, 2435 },
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
2570 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2582 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2571 'text': 'deprecated', 2583 'text': 'deprecated',
2572 }, 2584 },
2573 'doc_recommended': { 2585 'doc_recommended': {
2574 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2586 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2575 'text': 'Recommended', 2587 'text': 'Recommended',
2576 }, 2588 },
2577 }, 2589 },
2578 'placeholders': [], 2590 'placeholders': [],
2579 } 2591 }
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