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

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

Issue 145073003: Indicate which authentication flow was used in UserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Speculative fix for telemetry. Created 6 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
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/resources/chromeos/login/login_common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 61b17bbed30fc47dcb1881290f665dad9bf0852d..1f78ced74e2a6cb1a3e6bdef287b372bc33a00d0 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -1830,15 +1830,17 @@ void UserManagerImpl::RestorePendingUserSessions() {
if (!user_already_logged_in) {
// Will call OnProfilePrepared() once profile has been loaded.
- LoginUtils::Get()->PrepareProfile(UserContext(user_id,
- std::string(), // password
- std::string(), // auth_code
- user_id_hash,
- false), // using_oauth
- std::string(), // display_email
- false, // has_cookies
- true, // has_active_session
- this);
+ LoginUtils::Get()->PrepareProfile(
+ UserContext(user_id,
+ std::string(), // password
+ std::string(), // auth_code
+ user_id_hash,
+ false, // using_oauth
+ UserContext::AUTH_FLOW_OFFLINE),
+ std::string(), // display_email
+ false, // has_cookies
+ true, // has_active_session
+ this);
} else {
RestorePendingUserSessions();
}
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/resources/chromeos/login/login_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698