diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-01 20:21:06 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-01 20:21:06 +0000 |
commit | 85e24bac8487c0df00bfc15aef024dee7ba2d200 (patch) | |
tree | 91c29e13dbf60a5bd70f89d5357b3a29122b91bf /chrome/browser/sync | |
parent | 555280c6a6e537c68388a445c1ad3f57324dd91c (diff) | |
download | chromium_src-85e24bac8487c0df00bfc15aef024dee7ba2d200.zip chromium_src-85e24bac8487c0df00bfc15aef024dee7ba2d200.tar.gz chromium_src-85e24bac8487c0df00bfc15aef024dee7ba2d200.tar.bz2 |
sync: if backend initialization fails, make sure to notify the setup wizard.
BUG=91100
TEST=
Review URL: http://codereview.chromium.org/7488072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index 1c14e25..061ded4 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -554,6 +554,7 @@ void ProfileSyncService::OnBackendInitialized(bool success) { if (!success) { // If backend initialization failed, abort. We only want to blow away // state (DBs, etc) if this was a first-time scenario that failed. + wizard_.Step(SyncSetupWizard::FATAL_ERROR); Shutdown(!HasSyncSetupCompleted()); return; } |