| Index: components/signin/core/browser/account_reconcilor.cc
|
| diff --git a/components/signin/core/browser/account_reconcilor.cc b/components/signin/core/browser/account_reconcilor.cc
|
| index 8b2932a24bf890b848c2d973aae9ca1f17426501..d60482e54c012afcf5185e5f7bf21fcafba5794c 100644
|
| --- a/components/signin/core/browser/account_reconcilor.cc
|
| +++ b/components/signin/core/browser/account_reconcilor.cc
|
| @@ -312,7 +312,7 @@ void AccountReconcilor::UnregisterWithTokenService() {
|
| }
|
|
|
| bool AccountReconcilor::IsProfileConnected() {
|
| - return !signin_manager_->GetAuthenticatedUsername().empty();
|
| + return signin_manager_->IsAuthenticated();
|
| }
|
|
|
| void AccountReconcilor::OnCookieChanged(const net::CanonicalCookie* cookie) {
|
| @@ -531,7 +531,7 @@ void AccountReconcilor::ContinueReconcileActionAfterGetGaiaAccounts(
|
| }
|
|
|
| void AccountReconcilor::ValidateAccountsFromTokenService() {
|
| - primary_account_ = signin_manager_->GetAuthenticatedUsername();
|
| + primary_account_ = signin_manager_->GetAuthenticatedAccountId();
|
| DCHECK(!primary_account_.empty());
|
|
|
| chrome_accounts_ = token_service_->GetAccounts();
|
|
|