Convert chrome/browser/sync/sync_ui_util.cc to IdentityManager
Also update all the callers and adapt the unit tests to stop using a custom FakeSigninManagerBase and PO2TS, using IdentityManager and related test utilities (e.g. IdentityTestEnvironment, PrimaryAccountMutator) instead, so that the actual code being ported to can be tested. This means that the STATUS_CASE_AUTHENTICATING case can't be tested anymore for ChromeOS, but hopefully that should not be an issue since ChromeOS doesn't support signin-in/out the primary account anyway. Bug: 890796 Change-Id: Iadcb5440eef126a801dd6c0cd145cbbe0bfb0b6d Reviewed-on: https://chromium-review.googlesource.com/c/1362902Reviewed-by:Toni Baržić <tbarzic@chromium.org> Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Reviewed-by:
Joshua Bell <jsbell@chromium.org> Reviewed-by:
Colin Blundell <blundell@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Peter Kasting <pkasting@chromium.org> Commit-Queue: Mario Sanchez Prada <mario@igalia.com> Cr-Commit-Position: refs/heads/master@{#616094}
Showing
This diff is collapsed.
Please register or sign in to comment