Convert arc_session_manager_browsertest.cc to use IdentityManager
It was using both SigninManager and ProfileOAuth2TokenService fake objects injected in the profile to signin the user with a refresh token. The IdentityTestEnvironmentProfileAdaptor could be used to create the testing profile followed by IdentityTestEnvironment::MakePrimaryAccountAvailable() to perform the signin. Bug: 882864 Change-Id: I6d546a722a0eda4f3d14d6234d819a3964c7d92e Reviewed-on: https://chromium-review.googlesource.com/c/1338107Reviewed-by:Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:
Elijah Taylor <elijahtaylor@chromium.org> Commit-Queue: Sergio Villar <svillar@igalia.com> Cr-Commit-Position: refs/heads/master@{#609637}
Showing
Please register or sign in to comment