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

Unified Diff: components/policy/resources/policy_templates.json

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Fixed patch set 5 errors. Created 4 years, 2 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: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 3135c2cd2358da593b134a41548aa2205e62d8c3..6faef3228d33dd2635e597b853367a4b541b5e23 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -139,7 +139,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: 349
+# For your editing convenience: highest ID currently used: 351
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -9081,6 +9081,64 @@
If set to False, updates to components are disabled. However, some components are exempt from this policy: updates to any component that does not contain executable code, or does not significantly alter the behavior of the browser, or is critical for its security will not be disabled.
Examples of such components include the certificate revocation lists and safe browsing data. ''',
},
+ {
+ 'name': 'QuickUnlockModeWhitelist',
+ 'type': 'list',
+ 'schema': {
+ 'type': 'array',
+ 'items': { 'type': 'string' },
+ },
+ 'supported_on': ['chrome_os:55-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': ['PIN'],
+ 'id': 350,
+ 'caption': '''Enable methods for unlocking the lock screen.''',
+ 'tags': [],
+ 'desc': ''' This policy sets which methods can be used to unlock the lock screen. All means all avaliable methods can be used, otherwise only the specified chosen methods may be used. ''',
+ },
+ {
+ 'name': 'QuickUnlockTimeout',
+ 'type': 'int-enum',
+ 'schema': {
+ 'type': 'integer',
+ 'enum': [ 0, 1, 2, 3 ],
+ },
+ 'items': [
+ {
+ 'name': 'SixHours',
+ 'value': 0,
+ 'caption': '''Enter password every six hours to continue using quick unlock.''',
+ },
+ {
+ 'name': 'TweleveHours',
+ 'value': 1,
+ 'caption': '''Enter password every twelve hours to continue using quick unlock.''',
+ },
+ {
+ 'name': 'Day',
+ 'value': 2,
+ 'caption': '''Enter password every day to continue using quick unlock.''',
+ },
+ {
+ 'name': 'Week',
+ 'value': 3,
+ 'caption': '''Enter password every week to continue using quick unlock.''',
+ },
+ ],
+ 'supported_on': ['chrome_os:55-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': 2,
+ 'id': 351,
+ 'caption': '''Sets how often user has to enter password to use quick unlock.''',
+ 'tags': [],
+ 'desc': ''' Users have to enter the password into the lock screen every once in a while to continue using quick unlock. This policy sents the interval at which the lock screen will request the users password. ''',
+ },
],
'messages': {
# Messages that are not associated to any policies.

Powered by Google App Engine
This is Rietveld 408576698