Index: chrome/browser/chromeos/login/existing_user_controller.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc |
index 412ef8a1b85e06c23a4b87faf40dd9dd3e5c4d1c..c06b1a0cc5c6dfd00c2f67f0c68675dae378e1f0 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
@@ -344,6 +344,9 @@ void ExistingUserController::OnLoginSuccess( |
two_factor_credentials_ = credentials.two_factor; |
+ bool has_cookies = |
+ login_performer_->auth_mode() == LoginPerformer::AUTH_MODE_EXTENSION; |
+ |
// LoginPerformer instance will delete itself once online auth result is OK. |
// In case of failure it'll bring up ScreenLock and ask for |
// correct password/display error message. |
@@ -359,6 +362,7 @@ void ExistingUserController::OnLoginSuccess( |
credentials, |
pending_requests, |
using_oauth, |
+ has_cookies, |
this); |