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(); |
} |