summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_status_ui_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/sync_status_ui_helper.cc')
-rw-r--r--chrome/browser/sync/sync_status_ui_helper.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/sync/sync_status_ui_helper.cc b/chrome/browser/sync/sync_status_ui_helper.cc
index 586cd6f..d16068f 100644
--- a/chrome/browser/sync/sync_status_ui_helper.cc
+++ b/chrome/browser/sync/sync_status_ui_helper.cc
@@ -60,9 +60,8 @@ SyncStatusUIHelper::MessageType SyncStatusUIHelper::GetLabels(
ProfileSyncService* service, std::wstring* status_label,
std::wstring* link_label) {
MessageType result_type(SYNCED);
- bool sync_enabled = service->IsSyncEnabledByUser();
- if (sync_enabled) {
+ if (service->HasSyncSetupCompleted()) {
ProfileSyncService::Status status(service->QueryDetailedSyncStatus());
AuthErrorState auth_error(service->GetAuthErrorState());