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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 void Unlock(const std::string& user_email) override; | 75 void Unlock(const std::string& user_email) override; |
76 void AttemptEasySignin(const std::string& user_email, | 76 void AttemptEasySignin(const std::string& user_email, |
77 const std::string& secret, | 77 const std::string& secret, |
78 const std::string& key_label) override; | 78 const std::string& key_label) override; |
79 | 79 |
80 // UserBoardModel implementation. | 80 // UserBoardModel implementation. |
81 void SendUserList() override; | 81 void SendUserList() override; |
82 void HardLockPod(const std::string& user_id) override; | 82 void HardLockPod(const std::string& user_id) override; |
83 void AttemptEasyUnlock(const std::string& user_id) override; | 83 void AttemptEasyUnlock(const std::string& user_id) override; |
| 84 void RecordClickOnLockIcon(const std::string& user_id) override; |
84 | 85 |
85 // Fills |user_dict| with information about |user|. | 86 // Fills |user_dict| with information about |user|. |
86 static void FillUserDictionary( | 87 static void FillUserDictionary( |
87 user_manager::User* user, | 88 user_manager::User* user, |
88 bool is_owner, | 89 bool is_owner, |
89 bool is_signin_to_add, | 90 bool is_signin_to_add, |
90 AuthType auth_type, | 91 AuthType auth_type, |
91 const std::vector<std::string>* public_session_recommended_locales, | 92 const std::vector<std::string>* public_session_recommended_locales, |
92 base::DictionaryValue* user_dict); | 93 base::DictionaryValue* user_dict); |
93 | 94 |
(...skipping 30 matching lines...) Expand all Loading... |
124 | 125 |
125 // Timer for measuring idle state duration before password clear. | 126 // Timer for measuring idle state duration before password clear. |
126 base::OneShotTimer<UserSelectionScreen> password_clear_timer_; | 127 base::OneShotTimer<UserSelectionScreen> password_clear_timer_; |
127 | 128 |
128 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); | 129 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); |
129 }; | 130 }; |
130 | 131 |
131 } // namespace chromeos | 132 } // namespace chromeos |
132 | 133 |
133 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ | 134 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ |
OLD | NEW |