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

Unified Diff: chrome/browser/chromeos/login/screens/user_selection_screen.h

Issue 1191273002: ChromeOS: Show the new POD RE-AUTH ICON when users needs to re-auth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use CSS selectors instead of JS code. Created 5 years, 6 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/screens/user_selection_screen.h
diff --git a/chrome/browser/chromeos/login/screens/user_selection_screen.h b/chrome/browser/chromeos/login/screens/user_selection_screen.h
index 7b9c684e59acae880f6298c8478ec588b96578d0..e83be702cbee77a11e44f478f17fe9458ce9a6ad 100644
--- a/chrome/browser/chromeos/login/screens/user_selection_screen.h
+++ b/chrome/browser/chromeos/login/screens/user_selection_screen.h
@@ -55,7 +55,11 @@ class UserSelectionScreen
void OnPasswordClearTimerExpired();
void HandleGetUsers();
- void CheckUserStatus(const std::string& user_id);
+
+ // Returns true if user check has started possible, otherwise it returns
+ // false. Note, that "false" may be a temporary status, as other check
+ // request for this user might be in progress.
+ bool CheckUserStatus(const std::string& user_id);
// ui::UserActivityDetector implementation:
void OnUserActivity(const ui::Event* event) override;
@@ -123,6 +127,9 @@ class UserSelectionScreen
EasyUnlockService* GetEasyUnlockServiceForUser(
const std::string& user_id) const;
+ // Run CheckUserStatus() on all users.
+ void CheckAllUserStatuses();
+
void OnUserStatusChecked(const user_manager::UserID& user_id,
TokenHandleUtil::TokenHandleStatus status);

Powered by Google App Engine
This is Rietveld 408576698