[GID] Implement tests for IdentityDiscController
The test verifies Identity Disc visibility based on navigation location (NTP vs. other locations), sign-in, and sync state. To enable testing I updated the logic to retrieve ProfileSyncService reference instead of using cached reference. I also updated FakeProfileSyncService to allow controlling sync state from test. R=twellington@chromium.org Change-Id: I8fcc672acd0b0a5e7c46e951e4222e7c9cbb8c7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1904080Reviewed-by:Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Cr-Commit-Position: refs/heads/master@{#714816}
Showing
Please register or sign in to comment