Add null check to sync_ui_util::GetStatusLabels

Apparently it's possible to get here when Sync is disabled via
--disable-sync. Let's not crash in that case.

Bug: 942044
Change-Id: I67e67a768739a1b86ec84f900bbeaf84ecd6470f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1524261
Reviewed-by: Mikel Astiz <mastiz@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640796}
1 file changed