Update primary account setup flow during migration
Update IdentityManager initialization flow during the AccountManager migration. After the offline login the |user_context| has no token, hence the Primary account could not be setup for the IdentityManager. Add login account to the AccountManager in case it is not presented there to properly setup primary account for the IdentityManager. The primary account with token will be configured later during the AccountManager migration process. Remove |DeprecatedSetPrimaryAccountAndUpdateAccountInfo|. Bug: 987955 Change-Id: Ia1665e8337e26ca05af9a9abc43ab23816fce14d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131912 Commit-Queue: Andrei Salavei <solovey@google.com> Reviewed-by:David Roger <droger@chromium.org> Reviewed-by:
Kush Sinha <sinhak@chromium.org> Cr-Commit-Position: refs/heads/master@{#758775}
Showing
This diff is collapsed.
Please register or sign in to comment