summaryrefslogtreecommitdiff
path: root/chromium/components/user_manager/known_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/user_manager/known_user.h')
-rw-r--r--chromium/components/user_manager/known_user.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/components/user_manager/known_user.h b/chromium/components/user_manager/known_user.h
index edc8555dd25..2c0843ee4d7 100644
--- a/chromium/components/user_manager/known_user.h
+++ b/chromium/components/user_manager/known_user.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "base/time/time.h"
#include "components/user_manager/user_manager_export.h"
class AccountId;
@@ -215,6 +216,17 @@ void USER_MANAGER_EXPORT SetChallengeResponseKeys(const AccountId& account_id,
base::Value USER_MANAGER_EXPORT
GetChallengeResponseKeys(const AccountId& account_id);
+void USER_MANAGER_EXPORT SetLastOnlineSignin(const AccountId& account_id,
+ base::Time time);
+
+base::Time USER_MANAGER_EXPORT GetLastOnlineSignin(const AccountId& account_id);
+
+void USER_MANAGER_EXPORT SetOfflineSigninLimit(const AccountId& account_id,
+ base::TimeDelta time_limit);
+
+base::TimeDelta USER_MANAGER_EXPORT
+GetOfflineSigninLimit(const AccountId& account_id);
+
// Removes all user preferences associated with |account_id|.
// Not exported as code should not be calling this outside this component
void RemovePrefs(const AccountId& account_id);