| Index: chrome/browser/sync_file_system/drive_backend/sync_task.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task.cc b/chrome/browser/sync_file_system/drive_backend/sync_task.cc
|
| index 4475059193aacdf3ad9b4e70e2918becc3f20a04..f5f7dac7f375570e341e81b3c4d2256927a5cc65 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/sync_task.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/sync_task.cc
|
| @@ -26,11 +26,11 @@ ExclusiveTask::ExclusiveTask() : weak_ptr_factory_(this) {}
|
| ExclusiveTask::~ExclusiveTask() {}
|
|
|
| void ExclusiveTask::RunPreflight(scoped_ptr<SyncTaskToken> token) {
|
| - scoped_ptr<BlockingFactor> blocking_factor(new BlockingFactor);
|
| - blocking_factor->exclusive = true;
|
| + scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker);
|
| + task_blocker->exclusive = true;
|
|
|
| - SyncTaskManager::UpdateBlockingFactor(
|
| - token.Pass(), blocking_factor.Pass(),
|
| + SyncTaskManager::UpdateTaskBlocker(
|
| + token.Pass(), task_blocker.Pass(),
|
| base::Bind(&CallRunExclusive, weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
|
|