| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual void ShowSigninScreenForCreds(const std::string& username, | 75 virtual void ShowSigninScreenForCreds(const std::string& username, |
| 76 const std::string& password); | 76 const std::string& password); |
| 77 bool IsShowGuest() const override; | 77 bool IsShowGuest() const override; |
| 78 bool IsShowUsers() const override; | 78 bool IsShowUsers() const override; |
| 79 bool ShowUsersHasChanged() const override; | 79 bool ShowUsersHasChanged() const override; |
| 80 bool IsAllowNewUser() const override; | 80 bool IsAllowNewUser() const override; |
| 81 bool AllowNewUserChanged() const override; | 81 bool AllowNewUserChanged() const override; |
| 82 bool IsSigninInProgress() const override; | 82 bool IsSigninInProgress() const override; |
| 83 bool IsUserSigninCompleted() const override; | 83 bool IsUserSigninCompleted() const override; |
| 84 void SetDisplayEmail(const std::string& email) override; | 84 void SetDisplayEmail(const std::string& email) override; |
| 85 void SetDisplayAndGivenName(const std::string& display_name, |
| 86 const std::string& given_name) override; |
| 85 void Signout() override; | 87 void Signout() override; |
| 86 void HandleGetUsers() override; | 88 void HandleGetUsers() override; |
| 87 void CheckUserStatus(const AccountId& account_id) override; | 89 void CheckUserStatus(const AccountId& account_id) override; |
| 88 bool IsUserWhitelisted(const AccountId& account_id) override; | 90 bool IsUserWhitelisted(const AccountId& account_id) override; |
| 89 | 91 |
| 90 // AuthStatusConsumer implementation: | 92 // AuthStatusConsumer implementation: |
| 91 void OnAuthFailure(const AuthFailure& error) override; | 93 void OnAuthFailure(const AuthFailure& error) override; |
| 92 void OnAuthSuccess(const UserContext& user_context) override; | 94 void OnAuthSuccess(const UserContext& user_context) override; |
| 93 | 95 |
| 94 OobeUI* oobe_ui_; | 96 OobeUI* oobe_ui_; |
| 95 Delegate* delegate_; | 97 Delegate* delegate_; |
| 96 LoginDisplayWebUIHandler* webui_handler_; | 98 LoginDisplayWebUIHandler* webui_handler_; |
| 97 scoped_refptr<Authenticator> authenticator_; | 99 scoped_refptr<Authenticator> authenticator_; |
| 98 | 100 |
| 99 // This list should have at most one user, and that user should be the owner. | 101 // This list should have at most one user, and that user should be the owner. |
| 100 user_manager::UserList owner_user_list_; | 102 user_manager::UserList owner_user_list_; |
| 101 | 103 |
| 102 static user_manager::UserManager* test_user_manager_; | 104 static user_manager::UserManager* test_user_manager_; |
| 103 | 105 |
| 104 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); | 106 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); |
| 105 }; | 107 }; |
| 106 | 108 |
| 107 } // namespace chromeos | 109 } // namespace chromeos |
| 108 | 110 |
| 109 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
| OLD | NEW |