[NTP Snippets] Have RemoteSuggestionsFetcherImpl use IdentityManager
This CL converts RemoteSuggestionsFetcherImpl 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. TBR=gambard@chromium.org Bug: 798413 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: If639f55969f70edbaff758598f95e0d74406b492 Reviewed-on: https://chromium-review.googlesource.com/870313Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Jan Krcal <jkrcal@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#530135}
Showing
Please register or sign in to comment