| 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 cb0044488180356a6d7f29b0b2345e3eae553d05..f19acb83cab42a4ddb0732a705c276de0f79cf89 100644
|
| --- a/chrome/browser/sync/profile_sync_service.cc
|
| +++ b/chrome/browser/sync/profile_sync_service.cc
|
| @@ -531,7 +531,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();
|
|
|