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

Unified Diff: components/proximity_auth/proximity_auth_system.h

Issue 2902093002: [EasyUnlock] Force user to enter their password after 20 hours. (Closed)
Patch Set: add metric Created 3 years, 7 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/proximity_auth/proximity_auth_system.h
diff --git a/components/proximity_auth/proximity_auth_system.h b/components/proximity_auth/proximity_auth_system.h
index 31586db318f0d5f517eaeda6ca0503c7a771b028..d3f0e50e6086662456413ce876edd74c6c64b8c4 100644
--- a/components/proximity_auth/proximity_auth_system.h
+++ b/components/proximity_auth/proximity_auth_system.h
@@ -92,6 +92,10 @@ class ProximityAuthSystem : public RemoteDeviceLifeCycle::Observer,
// timeout.
void ResumeAfterWakeUpTimeout();
+ // Returns true if the user should be forced to use a password to authenticate
+ // rather than EasyUnlock.
+ bool ShouldForcePassword();
+
// Lists of remote devices, keyed by user account id.
std::map<AccountId, cryptauth::RemoteDeviceList> remote_devices_map_;

Powered by Google App Engine
This is Rietveld 408576698