[Autofill Assistant] Provide token fetcher to service.
Before this patch, the AA extension API was only able to send unauthenticated requests to the backend (i.e. explicitly disabling autofill-assistant-auth and providing API keys etc). This patch introduces an token access fetcher so that extensions will be able to send requests on behalf of a signed in (sync) user. For simplicity, this patch uses the primary account by default. That logic will be relaxed later if needed. Bug: b/143736397 Change-Id: I89019abf7bc94aeeb2bb152ed10a0e62b0a9d442 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089690Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Sandro Maggi <sandromaggi@google.com> Commit-Queue: Mathias Carlen <mcarlen@chromium.org> Cr-Commit-Position: refs/heads/master@{#748167}
Showing
Please register or sign in to comment