commit | c174c0fe356c99356b4ddcb869dff583c134ff11 | [log] [tgz] |
---|---|---|
author | Marc Treib <treib@chromium.org> | Mon Feb 04 16:29:10 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 04 16:29:10 2019 |
tree | 43452e15b9bf285b5c21119d009fb52c0824c40a | |
parent | fc90aa7e856a4055c3a8ae69c43217c5f3bf5a6a [diff] |
More small cleanups in sync_ui_util - Remove an obsolete HasPrimaryAccount() check. - Minimize inputs, e.g. GetStatusForAuthError() only needs an auth_error, not the whole Profile. - IsPassphraseRequiredForDecryption() implies IsPassphraseRequired(), so no need to check both. - Add an explicit IsLocalSyncEnabled() check to ShouldRequestSyncConfirmation() - we should never ask for confirmation for local Sync. Bug: 911153 Change-Id: I7bacf019e0a929b4d519a00d18fa9987c2f94efd Reviewed-on: https://chromium-review.googlesource.com/c/1451939 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by: Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/master@{#628764}
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 .