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

Unified Diff: chrome/browser/chromeos/login/quick_unlock/pin_storage.cc

Issue 2289393002: Disable pin unlock for m53 only. (Closed)
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/quick_unlock/pin_storage.cc
diff --git a/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc b/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc
index 2030a63edbcbf1ca73329f6851edba77cc3d8882..312317bd30ca03355618f451f2e57cbb877fb884 100644
--- a/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc
+++ b/chrome/browser/chromeos/login/quick_unlock/pin_storage.cc
@@ -104,8 +104,7 @@ std::string PinStorage::PinSecret() const {
}
bool PinStorage::IsPinAuthenticationAvailable() const {
- return IsPinSet() && unlock_attempt_count() < kMaximumUnlockAttempts &&
- HasStrongAuth() && TimeSinceLastStrongAuth() < kStrongAuthTimeout;
+ return false;
}
bool PinStorage::TryAuthenticatePin(const std::string& pin) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698