Commit 548f18b9 authored by Alex Ilin's avatar Alex Ilin Committed by Commit Bot

[Signin] Update log messages in AccountReconcilor

log messages referring to
updates those messages.

AccountReconcilor: :LoadValidAccountsFromTokenService() contains outdated
AccountReconcilor: :ValidateAccountsFromTokenService method. This CL
Change-Id: I3b9669cc65bd6582c7a2cc88407abb999f933523
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829709Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Commit-Queue: Alex Ilin <alexilin@chromium.org>
Auto-Submit: Alex Ilin <alexilin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701507}
parent 83e011ee
...@@ -713,14 +713,14 @@ AccountReconcilor::LoadValidAccountsFromTokenService() const { ...@@ -713,14 +713,14 @@ AccountReconcilor::LoadValidAccountsFromTokenService() const {
std::vector<CoreAccountId> chrome_account_ids; std::vector<CoreAccountId> chrome_account_ids;
// Remove any accounts that have an error. There is no point in trying to // Remove any accounts that have an error. There is no point in trying to
// reconcile them, since it won't work anyway. If the list ends up being // reconcile them, since it won't work anyway. If the list ends up being
// empty then don't reconcile any accounts. // empty then don't reconcile any accounts.
for (const auto& chrome_account_with_refresh_tokens : for (const auto& chrome_account_with_refresh_tokens :
chrome_accounts_with_refresh_tokens) { chrome_accounts_with_refresh_tokens) {
if (identity_manager_->HasAccountWithRefreshTokenInPersistentErrorState( if (identity_manager_->HasAccountWithRefreshTokenInPersistentErrorState(
chrome_account_with_refresh_tokens.account_id)) { chrome_account_with_refresh_tokens.account_id)) {
VLOG(1) << "AccountReconcilor::ValidateAccountsFromTokenService: " VLOG(1) << "AccountReconcilor::LoadValidAccountsFromTokenService: "
<< chrome_account_with_refresh_tokens.account_id << chrome_account_with_refresh_tokens.account_id
<< " has error, don't reconcile"; << " has error, don't reconcile";
continue; continue;
...@@ -728,7 +728,7 @@ AccountReconcilor::LoadValidAccountsFromTokenService() const { ...@@ -728,7 +728,7 @@ AccountReconcilor::LoadValidAccountsFromTokenService() const {
chrome_account_ids.push_back(chrome_account_with_refresh_tokens.account_id); chrome_account_ids.push_back(chrome_account_with_refresh_tokens.account_id);
} }
VLOG(1) << "AccountReconcilor::ValidateAccountsFromTokenService: " VLOG(1) << "AccountReconcilor::LoadValidAccountsFromTokenService: "
<< "Chrome " << chrome_account_ids.size() << " accounts"; << "Chrome " << chrome_account_ids.size() << " accounts";
return chrome_account_ids; return chrome_account_ids;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment