More cleanup in sync_ui_util.cc
- Explicitly call out local Sync. - Prefer SyncUserSettings::IsSyncRequested to checking disable reasons on the service. - Remove some dead code from the end of GetStatusLabelsImpl. - Fix a bug where the behavior depended on the presence of an output parameter. Bug: 911153 Change-Id: Icaee9dae173e4c64b74ee65e346871c44c1897c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1505495Reviewed-by:Mohamed Amir Yosef <mamir@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#638150}
Showing
Please register or sign in to comment