Index: chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc |
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc |
index d0e6559bcd0b1f80eeaf011094bec58564e6eebc..30262785effc829777f5fc5d185cfe2b827ceaf5 100644 |
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc |
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc |
@@ -238,7 +238,10 @@ MutableProfileOAuth2TokenServiceDelegate::GetRequestContext() const { |
void MutableProfileOAuth2TokenServiceDelegate::LoadCredentials( |
const std::string& primary_account_id) { |
- DCHECK(!primary_account_id.empty()); |
+ if (primary_account_id.empty()) { |
+ FireRefreshTokensLoaded(); |
+ return; |
+ } |
ValidateAccountId(primary_account_id); |
DCHECK(loading_primary_account_id_.empty()); |
DCHECK_EQ(0, web_data_service_request_); |