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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index a09add6135c20d50ebc3c5fc98e66577121443a8..86a6d9a388e14a760f4875a8fb8608664ba4ec25 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 186
+# For your editing convenience: highest ID currently used: 188
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3502,6 +3502,46 @@
Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
},
{
+ 'name': 'DeviceLocalAccountAutoLoginId',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'supported_on': ['chrome_os:26-'],
+ 'device_only': True,
+ 'features': {
+ 'dynamic_refresh': True,
+ },
+ 'example_value': "bob@example.com",
+ 'id': 187,
+ 'caption': '''Public session for auto-login''',
+ 'desc': '''A public session to auto-login after a delay.
+
+ If this policy is set, the specified session will be automatically logged in after a period of time has elapsed at the login screen. The public session must already be configured (see "DeviceLocalAccounts").
+
+ If this policy is unset, there will be no auto-login.''',
+ },
+ {
+ 'name': 'DeviceLocalAccountAutoLoginDelay',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:26-'],
+ 'device_only': True,
+ 'features': {
+ 'dynamic_refresh': True,
+ },
+ 'example_value': 300,
+ 'id': 188,
+ 'caption': '''Public session auto-login timer''',
+ 'desc': '''The public session auto-login delay.
+
+ If the DeviceLocalAccountAutoLoginId policy is unset, this policy has no effect. Otherwise:
+
+ If this policy is set, it determines the amount of time that should elapse before automatically logging into the public session specified by the "DeviceLocalAccountAutoLoginId" policy.
Mattias Nissler (ping if slow) 2013/02/11 17:33:29 nit: ...the amount of time _without user activity_
dconnelly 2013/02/12 12:19:41 Done.
+
+ If this policy is unset, 0 milliseconds will be used as the timeout.
+
+ This policy is specified in milliseconds.'''
+ },
+ {
'name': 'BackgroundModeEnabled',
'type': 'main',
'schema': { 'type': 'boolean' },

Powered by Google App Engine
This is Rietveld 408576698