OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 void UpdateAddButtonStatus(); | 313 void UpdateAddButtonStatus(); |
314 | 314 |
315 // Restore input focus to current user pod. | 315 // Restore input focus to current user pod. |
316 void RefocusCurrentPod(); | 316 void RefocusCurrentPod(); |
317 | 317 |
318 // WebUI message handlers. | 318 // WebUI message handlers. |
319 void HandleCompleteAuthentication(const std::string& email, | 319 void HandleCompleteAuthentication(const std::string& email, |
320 const std::string& password, | 320 const std::string& password, |
321 const std::string& auth_code); | 321 const std::string& auth_code); |
322 void HandleCompleteLogin(const std::string& typed_email, | 322 void HandleCompleteLogin(const std::string& typed_email, |
323 const std::string& password); | 323 const std::string& password, |
| 324 bool using_saml); |
324 void HandleGetUsers(); | 325 void HandleGetUsers(); |
325 void HandleAuthenticateUser(const std::string& username, | 326 void HandleAuthenticateUser(const std::string& username, |
326 const std::string& password); | 327 const std::string& password); |
327 void HandleLaunchDemoUser(); | 328 void HandleLaunchDemoUser(); |
328 void HandleLaunchIncognito(); | 329 void HandleLaunchIncognito(); |
329 void HandleLaunchPublicAccount(const std::string& username); | 330 void HandleLaunchPublicAccount(const std::string& username); |
330 void HandleOfflineLogin(const base::ListValue* args); | 331 void HandleOfflineLogin(const base::ListValue* args); |
331 void HandleShutdownSystem(); | 332 void HandleShutdownSystem(); |
332 void HandleLoadWallpaper(const std::string& email); | 333 void HandleLoadWallpaper(const std::string& email); |
333 void HandleRebootSystem(); | 334 void HandleRebootSystem(); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 | 519 |
519 // Helper that retrieves the authenticated user's e-mail address. | 520 // Helper that retrieves the authenticated user's e-mail address. |
520 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 521 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; |
521 | 522 |
522 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 523 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
523 }; | 524 }; |
524 | 525 |
525 } // namespace chromeos | 526 } // namespace chromeos |
526 | 527 |
527 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 528 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |