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

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

Issue 2374303002: cros: Added a new function to quick unlock api for checking unfinished pins. (Closed)
Patch Set: Fixed patch set 10 errors. Created 4 years, 1 month 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..3832104e6433d325edd38bfc8a609c72f9b729de 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: 352
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -9081,6 +9081,51 @@
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': 'PinUnlockMinimumLength',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:55-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 4,
+ 'id': 350,
+ 'caption': '''Sets the minimum length of the lock screen pin.''',
+ 'tags': [],
+ 'desc': '''Pins created for the lock screen must have a length equal or greater than this value.''',
jdufault 2016/11/01 18:56:45 Pins => PINs
sammiequon 2016/11/02 18:05:25 Done.
+ },
+ {
+ 'name': 'PinUnlockMaximumLength',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:55-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 0,
+ 'id': 351,
+ 'caption': '''Sets the maximum length of the lock screen pin.''',
+ 'tags': [],
+ 'desc': '''Pins created for the lock screen must have a length equal or lesser than this value. If this value is 0, or is less than PinUnlockMinimumLength, pins will have no maximum.''',
jdufault 2016/11/01 18:56:45 a length equal or lesser than => a length equal to
jdufault 2016/11/01 18:56:45 Pins => PINs
jdufault 2016/11/01 18:56:45 If this value is 0, or is less than => If this val
sammiequon 2016/11/02 18:05:25 Changed the description a bit.
sammiequon 2016/11/02 18:05:25 Done.
sammiequon 2016/11/02 18:05:25 Done.
+ },
+ {
+ 'name': 'PinUnlockAllowWeakPins',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome_os:55-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': False,
+ 'id': 352,
+ 'caption': '''Enables users to set weak pins for the lock screen pin.''',
+ 'tags': [],
+ 'desc': '''If this is set to true users cannot set weak pins for the lock screen pin. Such pins include pins whose digits are all the same number, or are increasing.''',
jdufault 2016/11/01 18:56:45 I wonder if these strings need to get approved by
jdufault 2016/11/01 18:56:45 pins => PINs
sammiequon 2016/11/02 18:05:25 Done.
sammiequon 2016/11/02 18:05:25 Messaged Tom.
+ },
],
'messages': {
# Messages that are not associated to any policies.

Powered by Google App Engine
This is Rietveld 408576698