| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 void OnPasswordClearTimerExpired(); | 42 void OnPasswordClearTimerExpired(); |
| 43 virtual void SendUserList(); | 43 virtual void SendUserList(); |
| 44 void HandleGetUsers(); | 44 void HandleGetUsers(); |
| 45 void SetAuthType(const std::string& username, | 45 void SetAuthType(const std::string& username, |
| 46 ScreenlockBridge::LockHandler::AuthType auth_type); | 46 ScreenlockBridge::LockHandler::AuthType auth_type); |
| 47 ScreenlockBridge::LockHandler::AuthType GetAuthType( | 47 ScreenlockBridge::LockHandler::AuthType GetAuthType( |
| 48 const std::string& username) const; | 48 const std::string& username) const; |
| 49 | 49 |
| 50 // wm::UserActivityDetector implementation: | 50 // wm::UserActivityDetector implementation: |
| 51 virtual void OnUserActivity(const ui::Event* event) OVERRIDE; | 51 virtual void OnUserActivity(const ui::Event* event) override; |
| 52 | 52 |
| 53 // Fills |user_dict| with information about |user|. | 53 // Fills |user_dict| with information about |user|. |
| 54 static void FillUserDictionary( | 54 static void FillUserDictionary( |
| 55 user_manager::User* user, | 55 user_manager::User* user, |
| 56 bool is_owner, | 56 bool is_owner, |
| 57 bool is_signin_to_add, | 57 bool is_signin_to_add, |
| 58 ScreenlockBridge::LockHandler::AuthType auth_type, | 58 ScreenlockBridge::LockHandler::AuthType auth_type, |
| 59 const std::vector<std::string>* public_session_recommended_locales, | 59 const std::vector<std::string>* public_session_recommended_locales, |
| 60 base::DictionaryValue* user_dict); | 60 base::DictionaryValue* user_dict); |
| 61 | 61 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 84 | 84 |
| 85 // Timer for measuring idle state duration before password clear. | 85 // Timer for measuring idle state duration before password clear. |
| 86 base::OneShotTimer<UserSelectionScreen> password_clear_timer_; | 86 base::OneShotTimer<UserSelectionScreen> password_clear_timer_; |
| 87 | 87 |
| 88 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); | 88 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 } // namespace chromeos | 91 } // namespace chromeos |
| 92 | 92 |
| 93 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ | 93 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ |
| OLD | NEW |