sync_ui_util: Don't use IdentityManager

The IdentityManager was used only to check HasPrimaryAccount(). The same
information is exposed from SyncService itself via
IsAuthenticatedAccountPrimary(), so no need to go to the
IdentityManager.

Bug: 911153
Change-Id: I19c9886bd8530ad1babadea7c8799c1b1cd6c6bd
Reviewed-on: https://chromium-review.googlesource.com/c/1477115
Reviewed-by: Mohamed Amir Yosef <mamir@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633117}
1 file changed