| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 base::CancelableClosure update_state_closure_; | 519 base::CancelableClosure update_state_closure_; |
| 520 base::CancelableClosure connecting_closure_; | 520 base::CancelableClosure connecting_closure_; |
| 521 | 521 |
| 522 content::NotificationRegistrar registrar_; | 522 content::NotificationRegistrar registrar_; |
| 523 | 523 |
| 524 // Whether there is an auth UI pending. This flag is set on receiving | 524 // Whether there is an auth UI pending. This flag is set on receiving |
| 525 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or | 525 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or |
| 526 // NOTIFICATION_AUTH_CANCELLED. | 526 // NOTIFICATION_AUTH_CANCELLED. |
| 527 bool has_pending_auth_ui_; | 527 bool has_pending_auth_ui_; |
| 528 | 528 |
| 529 scoped_ptr<CrosSettings::ObserverSubscription> allow_new_user_subscription_; | |
| 530 scoped_ptr<CrosSettings::ObserverSubscription> allow_guest_subscription_; | |
| 531 scoped_ptr<AutoEnrollmentController::ProgressCallbackList::Subscription> | 529 scoped_ptr<AutoEnrollmentController::ProgressCallbackList::Subscription> |
| 532 auto_enrollment_progress_subscription_; | 530 auto_enrollment_progress_subscription_; |
| 533 | 531 |
| 534 bool caps_lock_enabled_; | 532 bool caps_lock_enabled_; |
| 535 | 533 |
| 536 base::Closure kiosk_enable_flow_aborted_callback_for_test_; | 534 base::Closure kiosk_enable_flow_aborted_callback_for_test_; |
| 537 | 535 |
| 538 // Map of usernames to their current authentication type. If a user is not | 536 // Map of usernames to their current authentication type. If a user is not |
| 539 // contained in the map, it is using the default authentication type. | 537 // contained in the map, it is using the default authentication type. |
| 540 std::map<std::string, ScreenlockBridge::LockHandler::AuthType> | 538 std::map<std::string, ScreenlockBridge::LockHandler::AuthType> |
| 541 user_auth_type_map_; | 539 user_auth_type_map_; |
| 542 | 540 |
| 543 // Non-owning ptr. | 541 // Non-owning ptr. |
| 544 // TODO (ygorshenin@): remove this dependency. | 542 // TODO (ygorshenin@): remove this dependency. |
| 545 GaiaScreenHandler* gaia_screen_handler_; | 543 GaiaScreenHandler* gaia_screen_handler_; |
| 546 | 544 |
| 547 // Helper that retrieves the authenticated user's e-mail address. | 545 // Helper that retrieves the authenticated user's e-mail address. |
| 548 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 546 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; |
| 549 | 547 |
| 550 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 548 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 551 }; | 549 }; |
| 552 | 550 |
| 553 } // namespace chromeos | 551 } // namespace chromeos |
| 554 | 552 |
| 555 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 553 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |