Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 7639004: [ChromeOS] Always fetch oauth cooken when signing in via extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos trybot Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/chromeos/login/login_performer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/chromeos/login/login_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698