| 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 7ad73734f1988f50da35cbbf6d41d8071995195a..4ddaf6dadf56327a41c5bfd2935a018733d8450b 100644
|
| --- a/chrome/browser/sync/profile_sync_service.cc
|
| +++ b/chrome/browser/sync/profile_sync_service.cc
|
| @@ -534,7 +534,7 @@ void ProfileSyncService::DisableForUser() {
|
| // TODO(atwilson): Don't call SignOut() on *any* platform - move this into
|
| // the UI layer if needed (sync activity should never result in the user
|
| // being logged out of all chrome services).
|
| - if (!auto_start_enabled_)
|
| + if (!auto_start_enabled_ && !signin_->GetAuthenticatedUsername().empty())
|
| signin_->SignOut();
|
|
|
| NotifyObservers();
|
|
|