Provide a IdentityTestEnvinroment ctor that takes a PrefService
This CL extends the existing simple IdentityTestEnvinroment ctor by supplying an optional TestingPrefServiceSyncable instance. This way tests could still tweak the PrefService instance they hold and other objects, eg PO2TS, SigninManager, AccountTrackerService would be hidden from the tests. BUG=908810 Change-Id: If8257ddc6bdc22481d3530197025592264ffe256 Reviewed-on: https://chromium-review.googlesource.com/c/1351160 Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Reviewed-by:Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#612181}
Showing
Please register or sign in to comment