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

Unified Diff: chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: 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: chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h
diff --git a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h
index c7666c5ee6f7648535d6da4a2a471823436016ad..194284e8dba06f6be77fedb11f2c97801ca36f71 100644
--- a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h
+++ b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h
@@ -7,6 +7,15 @@
namespace chromeos {
+// Enumeration specifiying the possible intervals before a strong auth
+// (password) is required before continuing to use quick unlock.
+enum class PasswordConfirmation {
jdufault 2016/10/04 23:26:21 This should also be named PasswordConfirmationFreq
sammiequon 2016/10/18 22:47:49 Done.
+ SIX_HOURS = 0,
+ TWELVE_HOURS = 1,
+ DAY = 2,
+ WEEK = 3
+};
+
// Returns true if quick unlock is allowed by policy and the feature flag is
// present.
bool IsQuickUnlockEnabled();

Powered by Google App Engine
This is Rietveld 408576698