summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_setup_wizard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/sync_setup_wizard.cc')
-rw-r--r--chrome/browser/sync/sync_setup_wizard.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/sync/sync_setup_wizard.cc b/chrome/browser/sync/sync_setup_wizard.cc
index 23698b8..80d892f 100644
--- a/chrome/browser/sync/sync_setup_wizard.cc
+++ b/chrome/browser/sync/sync_setup_wizard.cc
@@ -68,8 +68,9 @@ void SyncSetupWizard::Step(State advance_state) {
return;
// No flow is in progress, and we have never escorted the user all the
// way through the wizard flow.
+ // TODO(atwilson): Make sure this works on all autostart_enabled platforms.
State end_state = DONE;
- if (!service_->cros_user().empty() &&
+ if (service_->auto_start_enabled() &&
!service_->profile()->GetPrefs()->GetBoolean(
prefs::kSyncSuppressStart)) {
end_state = GAIA_SUCCESS;