commit | ea42dfe35180d4f874a2354f92e2d05671eb0bf4 | [log] [tgz] |
---|---|---|
author | Anastasiia Nikolaienko <anastasiian@chromium.org> | Fri Jun 07 16:00:02 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 07 16:00:02 2019 |
tree | 196e1fbbcc10fcc4d08ae49dd7a0e3f81c563683 | |
parent | 0e4976021a0196bbc0e1e76ec41e4acf674d558f [diff] |
Ignore auth errors from non-sync accounts sync_ui_util displays a sync error even for Secondary Accounts, which are not being used as the Sync Account. This can happen if SigninErrorController is running in |AccountMode::ANY_ACCOUNT|, e.g. on Chrome OS. Fix this by specifically checking the error state of the Sync Account instead of using errors from any account. Bug: 971475 Test: unit_tests --gtest_filter="*SyncUIUtilTest*" Change-Id: I871257cef082c4cee7fd1be5f84d1c2f50441422 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648217 Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Kush Sinha <sinhak@chromium.org> Commit-Queue: Kush Sinha <sinhak@chromium.org> Cr-Commit-Position: refs/heads/master@{#667146}
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 .