Use ChromeSigninClient::PreSignOut() instead of SigninManager::SignOut() in ChromeSigninClientTests
This CL is step forward to move the test away from SigninManager, PO2TS and AccountTrackerService completely. The CL: 1) removes the knowledge of the tests about internals of SigninManager (eg that SigninManager::OnSignoutDecisionReached is called during the SignOut routine). 2) Removes MockSigninManager class completely, after tests switched away to use ChromeSigninClient::PreSignOut() instead of SigninManager::SignOut(). 3) Calls ChromeSigninClient::AfterCredentialsCopied instead of SigninManager::CopyCredentialsFrom keeping the same behavior. BUG=890787 Change-Id: Ib9dbc5feb073ec7bbda452a680e71de27a361e79 Reviewed-on: https://chromium-review.googlesource.com/c/1394663 Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#619936}
Showing
Please register or sign in to comment