commit | ecff01c4f3c559efdbe00f79a124b28990815037 | [log] [tgz] |
---|---|---|
author | Antonio Gomes <tonikitoo@igalia.com> | Tue Jan 08 19:10:28 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 08 19:10:28 2019 |
tree | b6f48199974ae0059cd01cbdc8572693d12d386c | |
parent | a8addf7c9beb555f42865197ce4189b6972ec1ab [diff] |
[ios] Remove AccountTrackerService references from SignOutAndClearAccounts SigninManager::SignOutandRemoveAllAccounts() always pass kRemoveAllAccounts for the action, while SigninManager::SignOut() checks accounts_consistency_. If the consistency method is kDice, then it passes kRemoveAuthenticatedAccountIfInError, otherwise it uses kRemoveAllAccounts. Given that in iOS the account consistency is always set to kMirror, kRemoveAllAccounts is always used and SigninManager::SignOutandRemoveAllAccounts and SigninManager::SignOut() become equivalent. This CL removes the AccountTrackerService::RemoveAccount calls in chrome_test_util::SignOutAndClearAccounts [1], which are not needed. [1] //ios/chrome/test/app/signin_test_util.mm. BUG=910146 Change-Id: Ia598d4eb2a1aa790a868e19b7163a38b1f03acf1 Reviewed-on: https://chromium-review.googlesource.com/c/1393367 Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Reviewed-by: David Roger <droger@chromium.org> Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/master@{#620825}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .