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

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

Issue 11991002: Merge 176800 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 11 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
Index: chrome/browser/chromeos/login/existing_user_controller.cc
===================================================================
--- chrome/browser/chromeos/login/existing_user_controller.cc (revision 177312)
+++ chrome/browser/chromeos/login/existing_user_controller.cc (working copy)
@@ -696,7 +696,6 @@
LoginUtils::Get()->PrepareProfile(username,
display_email_,
password,
- pending_requests,
using_oauth,
has_cookies,
this);
@@ -998,8 +997,11 @@
const std::string& username) {
// Invalidate OAuth token, since it can't be correct after password is
// changed.
- UserManager::Get()->SaveUserOAuthStatus(username,
- User::OAUTH_TOKEN_STATUS_INVALID);
+ UserManager::Get()->SaveUserOAuthStatus(
+ username,
+ CommandLine::ForCurrentProcess()->HasSwitch(switches::kForceOAuth1) ?
+ User::OAUTH1_TOKEN_STATUS_INVALID :
+ User::OAUTH2_TOKEN_STATUS_INVALID);
login_display_->SetUIEnabled(true);
login_display_->ShowGaiaPasswordChanged(username);
« no previous file with comments | « chrome/browser/chromeos/cros/cert_library.cc ('k') | chrome/browser/chromeos/login/existing_user_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698