| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXISTING_USER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 // Username for public session auto-login. | 247 // Username for public session auto-login. |
| 248 std::string public_session_auto_login_username_; | 248 std::string public_session_auto_login_username_; |
| 249 | 249 |
| 250 // Used to execute login operations. | 250 // Used to execute login operations. |
| 251 scoped_ptr<LoginPerformer> login_performer_; | 251 scoped_ptr<LoginPerformer> login_performer_; |
| 252 | 252 |
| 253 // Delegate to forward all authentication status events to. | 253 // Delegate to forward all authentication status events to. |
| 254 // Tests can use this to receive authentication status events. | 254 // Tests can use this to receive authentication status events. |
| 255 AuthStatusConsumer* auth_status_consumer_; | 255 AuthStatusConsumer* auth_status_consumer_; |
| 256 | 256 |
| 257 // AccountId of the last login attempt. | 257 // Username of the last login attempt. |
| 258 AccountId last_login_attempt_account_id_ = EmptyAccountId(); | 258 std::string last_login_attempt_username_; |
| 259 | 259 |
| 260 // OOBE/login display host. | 260 // OOBE/login display host. |
| 261 LoginDisplayHost* host_; | 261 LoginDisplayHost* host_; |
| 262 | 262 |
| 263 // Login UI implementation instance. | 263 // Login UI implementation instance. |
| 264 scoped_ptr<LoginDisplay> login_display_; | 264 scoped_ptr<LoginDisplay> login_display_; |
| 265 | 265 |
| 266 // Number of login attempts. Used to show help link when > 1 unsuccessful | 266 // Number of login attempts. Used to show help link when > 1 unsuccessful |
| 267 // logins for the same user. | 267 // logins for the same user. |
| 268 size_t num_login_attempts_; | 268 size_t num_login_attempts_; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 | 325 |
| 326 // Factory of callbacks. | 326 // Factory of callbacks. |
| 327 base::WeakPtrFactory<ExistingUserController> weak_factory_; | 327 base::WeakPtrFactory<ExistingUserController> weak_factory_; |
| 328 | 328 |
| 329 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 329 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 } // namespace chromeos | 332 } // namespace chromeos |
| 333 | 333 |
| 334 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 334 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |