| Index: chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
|
| diff --git a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
|
| index 182474e4d2c0a3631a72f1f86e6c2589fb782b6d..ed770356449878e20f549895d7a7e709a4ff2015 100644
|
| --- a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
|
| +++ b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/time/time.h"
|
| #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h"
|
| #include "chrome/browser/chromeos/login/signin/oauth2_login_manager_factory.h"
|
| +#include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/google/core/browser/google_util.h"
|
| #include "components/user_manager/user_manager.h"
|
| @@ -105,6 +106,14 @@ void UnblockProfile(Profile* profile) {
|
| bool ShouldDelayRequestForProfile(Profile* profile) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| + if (!chromeos::ProfileHelper::Get()->GetUserByProfile(profile))
|
| + return false;
|
| +
|
| + if (!chromeos::ProfileHelper::Get()->GetUserByProfile(profile)->
|
| + is_profile_created()) {
|
| + return false;
|
| + }
|
| +
|
| if (!user_manager::UserManager::Get()->IsUserLoggedIn()) {
|
| return false;
|
| } else if (!user_manager::UserManager::Get()
|
|
|