[Test] Migrate account related methods in SyncTestRule
The sign in API uses CoreAccountInfo. So in the long run its better to use CoreAccountInfo for helper methods that interact with sign in API. This cl refactors SyncTestRule so that the methods to add account and toggle sync states return CoreAccountInfo. Bug: 1135510, 1117006 Change-Id: I333f9dd87b093d781311a7ee286c04f274ee13ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2523112 Commit-Queue: Tanmoy Mollik <triploblastic@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#825339}
Showing
Please register or sign in to comment