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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
238 // Callback invoked when |oauth2_token_initializer_| has finished. | 238 // Callback invoked when |oauth2_token_initializer_| has finished. |
239 void OnOAuth2TokensFetched(bool success, const UserContext& user_context); | 239 void OnOAuth2TokensFetched(bool success, const UserContext& user_context); |
240 | 240 |
241 // Public session auto-login timer. | 241 // Public session auto-login timer. |
242 scoped_ptr<base::OneShotTimer> auto_login_timer_; | 242 scoped_ptr<base::OneShotTimer> auto_login_timer_; |
243 | 243 |
244 // Public session auto-login timeout, in milliseconds. | 244 // Public session auto-login timeout, in milliseconds. |
245 int public_session_auto_login_delay_; | 245 int public_session_auto_login_delay_; |
246 | 246 |
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_; |
achuithb
2015/10/28 23:11:45
AccountId?
Alexander Alekseev
2015/10/29 02:00:40
This will be cleared in another CL.
My code updat
| |
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 // Username of the last login attempt. | 257 // Username of the last login attempt. |
achuithb
2015/10/28 23:11:45
AccountId
Alexander Alekseev
2015/10/29 02:00:40
Done.
| |
258 std::string last_login_attempt_username_; | 258 AccountId last_login_attempt_account_id_ = EmptyAccountId(); |
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 |