| Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| index 1e138ff5e5c97feb7928f2b9d5d0f73333cbad91..bb05f6f58dbe40de1d5772d1917b6e77f7e8d64f 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| +++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| @@ -38,6 +38,7 @@ class CaptivePortalWindowProxy;
|
| class ErrorScreenActor;
|
| class NativeWindowDelegate;
|
| class User;
|
| +struct UserCredentials;
|
|
|
| // An interface for WebUILoginDisplay to call SigninScreenHandler.
|
| class LoginDisplayWebUIHandler {
|
| @@ -75,13 +76,11 @@ class SigninScreenHandlerDelegate {
|
|
|
| // Confirms sign up by provided |username| and |password| specified.
|
| // Used for new user login via GAIA extension.
|
| - virtual void CompleteLogin(const std::string& username,
|
| - const std::string& password) = 0;
|
| + virtual void CompleteLogin(const UserCredentials& credentials) = 0;
|
|
|
| // Sign in using |username| and |password| specified.
|
| // Used for both known and new users.
|
| - virtual void Login(const std::string& username,
|
| - const std::string& password) = 0;
|
| + virtual void Login(const UserCredentials& credentials) = 0;
|
|
|
| // Sign in into a retail mode session.
|
| virtual void LoginAsRetailModeUser() = 0;
|
| @@ -280,6 +279,7 @@ class SigninScreenHandler
|
| void UpdateAddButtonStatus();
|
|
|
| // WebUI message handlers.
|
| + void HandleCompleteAuthentication(const base::ListValue* args);
|
| void HandleCompleteLogin(const base::ListValue* args);
|
| void HandleGetUsers(const base::ListValue* args);
|
| void HandleAuthenticateUser(const base::ListValue* args);
|
|
|