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 b649c14e32d39f0e7eb634bf6dd11cba7c4b9633..a64bae08a272043b9689093f2b58646e26d9b4a8 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -984,6 +984,9 @@ void ProfileSyncService::OnStopSyncingPermanently() { |
UpdateAuthErrorState(AuthError(AuthError::SERVICE_UNAVAILABLE)); |
sync_prefs_.SetStartSuppressed(true); |
DisableForUser(); |
+ // If signout is allowed, signout the user on a dashboard clear. |
+ if (!auto_start_enabled_) // Skip signout on ChromeOS/Android. |
+ signin_->SignOut(); |
} |
void ProfileSyncService::OnPassphraseRequired( |