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

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: more nits Created 7 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 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 1e868f07413650f4a5a8f502c1dbd55fac09a526..cbdffd8bac70e1c2938e3da3b5786d60b463fa81 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: 190
+# For your editing convenience: highest ID currently used: 192
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3543,6 +3543,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': "public@example.com",
+ 'id': 191,
+ '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 without user interaction. 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': 180000,
+ 'id': 192,
+ '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 without user activity that should elapse before automatically logging into the public session specified by the |DeviceLocalAccountAutoLoginId| policy.
+
+ 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