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); | |
325 void HandleGetUsers(); | 324 void HandleGetUsers(); |
326 void HandleAuthenticateUser(const std::string& username, | 325 void HandleAuthenticateUser(const std::string& username, |
327 const std::string& password); | 326 const std::string& password); |
328 void HandleLaunchDemoUser(); | 327 void HandleLaunchDemoUser(); |
329 void HandleLaunchIncognito(); | 328 void HandleLaunchIncognito(); |
330 void HandleLaunchPublicAccount(const std::string& username); | 329 void HandleLaunchPublicAccount(const std::string& username); |
331 void HandleOfflineLogin(const base::ListValue* args); | 330 void HandleOfflineLogin(const base::ListValue* args); |
332 void HandleShutdownSystem(); | 331 void HandleShutdownSystem(); |
333 void HandleLoadWallpaper(const std::string& email); | 332 void HandleLoadWallpaper(const std::string& email); |
334 void HandleRebootSystem(); | 333 void HandleRebootSystem(); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 | 518 |
520 // Helper that retrieves the authenticated user's e-mail address. | 519 // Helper that retrieves the authenticated user's e-mail address. |
521 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 520 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; |
522 | 521 |
523 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 522 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
524 }; | 523 }; |
525 | 524 |
526 } // namespace chromeos | 525 } // namespace chromeos |
527 | 526 |
528 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 527 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |