[NTP Snippets] Have ContextualSuggestionsFetcherImpl use IdentityManager
This CL converts ContextualSuggestionsFetcherImpl from using //components/signin to using the Identity Service client library. The conversion is straightforward: - Get info of primary account via IdentityManager rather than SigninManager. - Create PrimaryAccountAccessTokenFetcher via IdentityManager rather than directly. I tested the relevant behavior manually by going to the NTP for a signed-in and syncing test user on Android and confirming that their content suggestions showed up after this change identically to before this change. A followup change will convert the test to use IdentityTestEnvironment. Bug: 798413 Change-Id: I8da6bc3a812960078c0e22a1239bb00142f1d25e Reviewed-on: https://chromium-review.googlesource.com/870831 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by:Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#530461}
Showing
Please register or sign in to comment