| Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| index af7eed7a43ce5b3ac8e973d252c759bf532c4f8d..bb266be13d414cba0beb527012113720cef43dcd 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
|
| @@ -403,7 +403,8 @@ void GaiaScreenHandler::HandleCompleteAuthentication(
|
| const std::string& gaia_id,
|
| const std::string& email,
|
| const std::string& password,
|
| - const std::string& auth_code) {
|
| + const std::string& auth_code,
|
| + bool using_saml) {
|
| if (!Delegate())
|
| return;
|
|
|
| @@ -417,6 +418,9 @@ void GaiaScreenHandler::HandleCompleteAuthentication(
|
| user_context.SetGaiaID(gaia_id);
|
| user_context.SetKey(Key(password));
|
| user_context.SetAuthCode(auth_code);
|
| + user_context.SetAuthFlow(using_saml
|
| + ? UserContext::AUTH_FLOW_GAIA_WITH_SAML
|
| + : UserContext::AUTH_FLOW_GAIA_WITHOUT_SAML);
|
| Delegate()->CompleteLogin(user_context);
|
| }
|
|
|
|
|