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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 | 48 |
49 private: | 49 private: |
50 void InitOwnerUserList(); | 50 void InitOwnerUserList(); |
51 UserManager* GetUserManager(); | 51 UserManager* GetUserManager(); |
52 | 52 |
53 // SigninScreenHandlerDelegate implementation: | 53 // SigninScreenHandlerDelegate implementation: |
54 virtual void CancelPasswordChangedFlow() OVERRIDE; | 54 virtual void CancelPasswordChangedFlow() OVERRIDE; |
55 virtual void CancelUserAdding() OVERRIDE; | 55 virtual void CancelUserAdding() OVERRIDE; |
56 virtual void CreateAccount() OVERRIDE; | 56 virtual void CreateAccount() OVERRIDE; |
57 virtual void CompleteLogin(const UserContext& user_context) OVERRIDE; | 57 virtual void CompleteLogin(const UserContext& user_context) OVERRIDE; |
58 virtual void Login(const UserContext& user_context) OVERRIDE; | 58 virtual void Login(const UserContext& user_context, |
59 virtual void LoginAsRetailModeUser() OVERRIDE; | 59 const SigninSpecifics& specifics) OVERRIDE; |
60 virtual void LoginAsGuest() OVERRIDE; | 60 // virtual void LoginAsRetailModeUser() OVERRIDE; |
Nikita (slow)
2014/06/06 14:49:47
These are no longer used, may be removed.
Denis Kuznetsov (DE-MUC)
2014/06/06 15:18:42
Done.
| |
61 // virtual void LoginAsGuest() OVERRIDE; | |
61 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; | 62 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; |
62 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; | 63 // virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; |
63 virtual void LoadWallpaper(const std::string& username) OVERRIDE; | 64 virtual void LoadWallpaper(const std::string& username) OVERRIDE; |
64 virtual void LoadSigninWallpaper() OVERRIDE; | 65 virtual void LoadSigninWallpaper() OVERRIDE; |
65 virtual void OnSigninScreenReady() OVERRIDE; | 66 virtual void OnSigninScreenReady() OVERRIDE; |
66 virtual void RemoveUser(const std::string& username) OVERRIDE; | 67 virtual void RemoveUser(const std::string& username) OVERRIDE; |
67 virtual void ResyncUserData() OVERRIDE; | 68 virtual void ResyncUserData() OVERRIDE; |
68 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; | 69 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; |
69 virtual void ShowKioskEnableScreen() OVERRIDE; | 70 virtual void ShowKioskEnableScreen() OVERRIDE; |
70 virtual void ShowKioskAutolaunchScreen() OVERRIDE; | 71 virtual void ShowKioskAutolaunchScreen() OVERRIDE; |
71 virtual void ShowWrongHWIDScreen() OVERRIDE; | 72 virtual void ShowWrongHWIDScreen() OVERRIDE; |
72 virtual void SetWebUIHandler( | 73 virtual void SetWebUIHandler( |
73 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; | 74 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; |
74 virtual void ShowSigninScreenForCreds(const std::string& username, | 75 virtual void ShowSigninScreenForCreds(const std::string& username, |
75 const std::string& password); | 76 const std::string& password); |
76 virtual const UserList& GetUsers() const OVERRIDE; | 77 virtual const UserList& GetUsers() const OVERRIDE; |
77 virtual bool IsShowGuest() const OVERRIDE; | 78 virtual bool IsShowGuest() const OVERRIDE; |
78 virtual bool IsShowUsers() const OVERRIDE; | 79 virtual bool IsShowUsers() const OVERRIDE; |
79 virtual bool IsSigninInProgress() const OVERRIDE; | 80 virtual bool IsSigninInProgress() const OVERRIDE; |
80 virtual bool IsUserSigninCompleted() const OVERRIDE; | 81 virtual bool IsUserSigninCompleted() const OVERRIDE; |
81 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; | 82 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
82 virtual void Signout() OVERRIDE; | 83 virtual void Signout() OVERRIDE; |
83 virtual void LoginAsKioskApp(const std::string& app_id, | |
84 bool diagnostic_mode) OVERRIDE; | |
85 virtual void HandleGetUsers() OVERRIDE; | 84 virtual void HandleGetUsers() OVERRIDE; |
86 virtual void SetAuthType( | 85 virtual void SetAuthType( |
87 const std::string& username, | 86 const std::string& username, |
88 ScreenlockBridge::LockHandler::AuthType auth_type) OVERRIDE; | 87 ScreenlockBridge::LockHandler::AuthType auth_type) OVERRIDE; |
89 virtual ScreenlockBridge::LockHandler::AuthType GetAuthType( | 88 virtual ScreenlockBridge::LockHandler::AuthType GetAuthType( |
90 const std::string& username) const OVERRIDE; | 89 const std::string& username) const OVERRIDE; |
91 | 90 |
92 // LoginStatusConsumer implementation: | 91 // LoginStatusConsumer implementation: |
93 virtual void OnLoginFailure(const LoginFailure& error) OVERRIDE; | 92 virtual void OnLoginFailure(const LoginFailure& error) OVERRIDE; |
94 virtual void OnLoginSuccess(const UserContext& user_context) OVERRIDE; | 93 virtual void OnLoginSuccess(const UserContext& user_context) OVERRIDE; |
95 | 94 |
96 OobeUI* oobe_ui_; | 95 OobeUI* oobe_ui_; |
97 Delegate* delegate_; | 96 Delegate* delegate_; |
98 LoginDisplayWebUIHandler* webui_handler_; | 97 LoginDisplayWebUIHandler* webui_handler_; |
99 scoped_refptr<Authenticator> authenticator_; | 98 scoped_refptr<Authenticator> authenticator_; |
100 | 99 |
101 // This list should have at most one user, and that user should be the owner. | 100 // This list should have at most one user, and that user should be the owner. |
102 UserList owner_user_list_; | 101 UserList owner_user_list_; |
103 | 102 |
104 static UserManager* test_user_manager_; | 103 static UserManager* test_user_manager_; |
105 | 104 |
106 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); | 105 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); |
107 }; | 106 }; |
108 | 107 |
109 } // namespace chromeos | 108 } // namespace chromeos |
110 | 109 |
111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 110 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
OLD | NEW |