Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index 7fa28b89d5b21eead6ff2fe2cc757b6a56e3e707..4b72b179f4fbdbcb740b5638255cb4fcb166b4d4 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -992,8 +992,9 @@ bool ProfileSyncService::FirstSetupInProgress() const { |
} |
void ProfileSyncService::SetSetupInProgress(bool setup_in_progress) { |
+ bool was_in_progress = setup_in_progress_; |
setup_in_progress_ = setup_in_progress; |
- if (!setup_in_progress) { |
+ if (!setup_in_progress && was_in_progress) { |
if (sync_initialized()) { |
ReconfigureDatatypeManager(); |
} |