[Signin][Android] Remove Profile from ProfileDataCache constructor
This CL moves Profile instance obtaining from ProfileDataCache clients to ProfileDownloader. It improves testability of ProfileDataCache and dependent code by removing requirement for Profile object and allowing simple faking with FakeProfileDataSource. Bug: 746519 Change-Id: Ia81ef9c429384f2b9ec5e04ecb220f9aba90358a Reviewed-on: https://chromium-review.googlesource.com/824662 Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#524134}
Showing
Please register or sign in to comment