cros: Convert AccountManager classes to unconsented primary account
SplitSettingsSync will allow the user to opt-out of browser sync. However, IdentityAccessor::GetPrimaryAccountInfo() assumes the user has consented to browser sync. The usage in AccountManager code isn't related to browser sync consent. Switch to using the "unconsented" primary account. On Chrome OS this account always exists for the logged-in user account, whether or not the user consented to browser sync. See go/cros-sync-mock and go/cros-primary-account for details. on enrolled device, see screen/v3dTEPoVGyg Bug: 1042400 Test: updated existing browser_test Test: Account manager WebUI shows correct domain for primary account Change-Id: Ied51c6aec99b34436a8c308a1ab0d2a569e00a9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031642 Commit-Queue: Xiyuan Xia <xiyuan@chromium.org> Auto-Submit: James Cook <jamescook@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#737914}
Showing
Please register or sign in to comment