| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void ShowEnterpriseEnrollmentScreen() override; | 68 void ShowEnterpriseEnrollmentScreen() override; |
| 69 void ShowEnableDebuggingScreen() override; | 69 void ShowEnableDebuggingScreen() override; |
| 70 void ShowKioskEnableScreen() override; | 70 void ShowKioskEnableScreen() override; |
| 71 void ShowKioskAutolaunchScreen() override; | 71 void ShowKioskAutolaunchScreen() override; |
| 72 void ShowWrongHWIDScreen() override; | 72 void ShowWrongHWIDScreen() override; |
| 73 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; | 73 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; |
| 74 virtual void ShowSigninScreenForCreds(const std::string& username, | 74 virtual void ShowSigninScreenForCreds(const std::string& username, |
| 75 const std::string& password); | 75 const std::string& password); |
| 76 bool IsShowGuest() const override; | 76 bool IsShowGuest() const override; |
| 77 bool IsShowUsers() const override; | 77 bool IsShowUsers() const override; |
| 78 bool ShowUsersHasChanged() const override; |
| 79 bool IsAllowNewUser() const override; |
| 80 bool AllowNewUserChanged() const override; |
| 78 bool IsSigninInProgress() const override; | 81 bool IsSigninInProgress() const override; |
| 79 bool IsUserSigninCompleted() const override; | 82 bool IsUserSigninCompleted() const override; |
| 80 void SetDisplayEmail(const std::string& email) override; | 83 void SetDisplayEmail(const std::string& email) override; |
| 81 void Signout() override; | 84 void Signout() override; |
| 82 void HandleGetUsers() override; | 85 void HandleGetUsers() override; |
| 83 void CheckUserStatus(const AccountId& account_id) override; | 86 void CheckUserStatus(const AccountId& account_id) override; |
| 84 bool IsUserWhitelisted(const AccountId& account_id) override; | 87 bool IsUserWhitelisted(const AccountId& account_id) override; |
| 85 | 88 |
| 86 // AuthStatusConsumer implementation: | 89 // AuthStatusConsumer implementation: |
| 87 void OnAuthFailure(const AuthFailure& error) override; | 90 void OnAuthFailure(const AuthFailure& error) override; |
| 88 void OnAuthSuccess(const UserContext& user_context) override; | 91 void OnAuthSuccess(const UserContext& user_context) override; |
| 89 | 92 |
| 90 OobeUI* oobe_ui_; | 93 OobeUI* oobe_ui_; |
| 91 Delegate* delegate_; | 94 Delegate* delegate_; |
| 92 LoginDisplayWebUIHandler* webui_handler_; | 95 LoginDisplayWebUIHandler* webui_handler_; |
| 93 scoped_refptr<Authenticator> authenticator_; | 96 scoped_refptr<Authenticator> authenticator_; |
| 94 | 97 |
| 95 // This list should have at most one user, and that user should be the owner. | 98 // This list should have at most one user, and that user should be the owner. |
| 96 user_manager::UserList owner_user_list_; | 99 user_manager::UserList owner_user_list_; |
| 97 | 100 |
| 98 static user_manager::UserManager* test_user_manager_; | 101 static user_manager::UserManager* test_user_manager_; |
| 99 | 102 |
| 100 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); | 103 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); |
| 101 }; | 104 }; |
| 102 | 105 |
| 103 } // namespace chromeos | 106 } // namespace chromeos |
| 104 | 107 |
| 105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 108 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
| OLD | NEW |