| 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_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // all the visible user manager screens can be updated. | 56 // all the visible user manager screens can be updated. |
| 57 class ProfileUpdateObserver; | 57 class ProfileUpdateObserver; |
| 58 | 58 |
| 59 void HandleInitialize(const base::ListValue* args); | 59 void HandleInitialize(const base::ListValue* args); |
| 60 void HandleAddUser(const base::ListValue* args); | 60 void HandleAddUser(const base::ListValue* args); |
| 61 void HandleAuthenticatedLaunchUser(const base::ListValue* args); | 61 void HandleAuthenticatedLaunchUser(const base::ListValue* args); |
| 62 void HandleLaunchGuest(const base::ListValue* args); | 62 void HandleLaunchGuest(const base::ListValue* args); |
| 63 void HandleLaunchUser(const base::ListValue* args); | 63 void HandleLaunchUser(const base::ListValue* args); |
| 64 void HandleRemoveUser(const base::ListValue* args); | 64 void HandleRemoveUser(const base::ListValue* args); |
| 65 void HandleAttemptUnlock(const base::ListValue* args); | 65 void HandleAttemptUnlock(const base::ListValue* args); |
| 66 void HandleHardlockUserPod(const base::ListValue* args); |
| 66 | 67 |
| 67 // Handle GAIA auth results. | 68 // Handle GAIA auth results. |
| 68 virtual void OnClientLoginSuccess(const ClientLoginResult& result) OVERRIDE; | 69 virtual void OnClientLoginSuccess(const ClientLoginResult& result) OVERRIDE; |
| 69 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) | 70 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) |
| 70 OVERRIDE; | 71 OVERRIDE; |
| 71 | 72 |
| 72 // Sends user list to account chooser. | 73 // Sends user list to account chooser. |
| 73 void SendUserList(); | 74 void SendUserList(); |
| 74 | 75 |
| 75 // Pass success/failure information back to the web page. | 76 // Pass success/failure information back to the web page. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 93 std::string password_attempt_; | 94 std::string password_attempt_; |
| 94 | 95 |
| 95 typedef std::map<std::string, ScreenlockBridge::LockHandler::AuthType> | 96 typedef std::map<std::string, ScreenlockBridge::LockHandler::AuthType> |
| 96 UserAuthTypeMap; | 97 UserAuthTypeMap; |
| 97 UserAuthTypeMap user_auth_type_map_; | 98 UserAuthTypeMap user_auth_type_map_; |
| 98 | 99 |
| 99 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); | 100 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ | 103 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
| OLD | NEW |