Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc |
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc |
index 90d4d1effa7f776214a83f9dc32cdf1bbe67657c..f89067835883ce9593185bd54e06d1c2ab252055 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc |
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc |
@@ -106,10 +106,10 @@ RemoteToLocalSyncer::~RemoteToLocalSyncer() { |
void RemoteToLocalSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) { |
token->InitializeTaskLog("Remote -> Local"); |
- scoped_ptr<BlockingFactor> blocking_factor(new BlockingFactor); |
- blocking_factor->exclusive = true; |
- SyncTaskManager::UpdateBlockingFactor( |
- token.Pass(), blocking_factor.Pass(), |
+ scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker); |
+ task_blocker->exclusive = true; |
+ SyncTaskManager::UpdateTaskBlocker( |
+ token.Pass(), task_blocker.Pass(), |
base::Bind(&RemoteToLocalSyncer::RunExclusive, |
weak_ptr_factory_.GetWeakPtr())); |
} |