cros: Migrate fileManagerPrivate API 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. Google Drive isn't tied 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. Bug: 1042400 Test: logging shows access tokens still fetched Change-Id: Ic5b95e0fe7484e373550fa93b87aa9b782aeae05 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2036380Reviewed-by:Toni Baržić <tbarzic@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#737980}
Showing
Please register or sign in to comment