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 a23f96e15951b9072bede72ef2dc340e608df217..ffcbbc461ad43d68a260237aa745a21234d19168 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -328,8 +328,11 @@ void ProfileSyncService::Initialize() { |
if (browser_sync::BackupRollbackController::IsBackupEnabled()) { |
// Backup is needed if user's not signed in or signed in but previous |
// backup didn't finish, i.e. backend didn't switch from backup to sync. |
- need_backup_ = signin_->GetEffectiveUsername().empty() || |
- sync_prefs_.GetFirstSyncTime().is_null(); |
+ // Note that backup is never performed for supervised users (which always |
+ // start with a fresh profile anyways). |
+ need_backup_ = (signin_->GetEffectiveUsername().empty() || |
Marc Treib
2014/09/25 09:31:51
If you want to exclude supervised users, I think i
Nicolas Zea
2014/09/26 01:26:48
Unfortunately I don't think that will work. The fi
|
+ sync_prefs_.GetFirstSyncTime().is_null()) && |
+ !profile_->IsSupervised(); |
// Try to resume rollback if it didn't finish in last session. |
running_rollback = backup_rollback_controller_.StartRollback(); |