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