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

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

Issue 12457029: Implement a policy to auto-login a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another rebase because the bots dont want to apply the patch 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 1db759b05a7d7affe0c1c4971b428f18792c74f2..6666940444e34e66b05b4cd2324f8ef88d1504c4 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: 193
+# For your editing convenience: highest ID currently used: 195
#
# 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': 194,
+ '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': 195,
+ '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' },
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698