| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SIGNIN_SCREEN_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chromeos/login/screens/gaia_screen.h" | 8 #include "chrome/browser/chromeos/login/screens/gaia_screen.h" |
| 9 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h" | 9 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h" |
| 10 #include "chrome/browser/chromeos/login/ui/login_display_host.h" | 10 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // TODO(antrim): replace with querying for this data. | 36 // TODO(antrim): replace with querying for this data. |
| 37 void Init(const user_manager::UserList& users, bool show_guest); | 37 void Init(const user_manager::UserList& users, bool show_guest); |
| 38 | 38 |
| 39 // Called when signin screen is ready. | 39 // Called when signin screen is ready. |
| 40 void OnSigninScreenReady(); | 40 void OnSigninScreenReady(); |
| 41 | 41 |
| 42 // Query to send list of users to user selection screen. | 42 // Query to send list of users to user selection screen. |
| 43 void SendUserList(); | 43 void SendUserList(); |
| 44 | 44 |
| 45 // Runs OAauth token validity check. | 45 // Runs OAauth token validity check. |
| 46 void CheckUserStatus(const std::string& user_id); | 46 void CheckUserStatus(const AccountId& account_id); |
| 47 | 47 |
| 48 // Query to remove user with specified id. | 48 // Query to remove user with specified id. |
| 49 // TODO(antrim): move to user selection screen handler. | 49 // TODO(antrim): move to user selection screen handler. |
| 50 void RemoveUser(const std::string& user_id); | 50 void RemoveUser(const std::string& user_id); |
| 51 | 51 |
| 52 // user_manager::RemoveUserDelegate implementation: | 52 // user_manager::RemoveUserDelegate implementation: |
| 53 void OnBeforeUserRemoved(const std::string& username) override; | 53 void OnBeforeUserRemoved(const std::string& username) override; |
| 54 void OnUserRemoved(const std::string& username) override; | 54 void OnUserRemoved(const std::string& username) override; |
| 55 | 55 |
| 56 // content::NotificationObserver implementation. | 56 // content::NotificationObserver implementation. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 71 | 71 |
| 72 // Used for notifications during the login process. | 72 // Used for notifications during the login process. |
| 73 content::NotificationRegistrar registrar_; | 73 content::NotificationRegistrar registrar_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(SignInScreenController); | 75 DISALLOW_COPY_AND_ASSIGN(SignInScreenController); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace chromeos | 78 } // namespace chromeos |
| 79 | 79 |
| 80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ | 80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ |
| OLD | NEW |