| Index: chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc
|
| index 3d55a05621acb7e8e3cb5a7b6a196bf5e23bdb34..1aadf099b42bf8dddf73906e70a8090b24ab30c3 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc
|
| @@ -23,6 +23,7 @@
|
| #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h"
|
| #include "chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h"
|
| #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
|
| +#include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
|
| #include "chrome/browser/sync_file_system/fake_remote_change_processor.h"
|
| #include "chrome/browser/sync_file_system/sync_file_system_test_util.h"
|
| #include "chrome/browser/sync_file_system/syncable_file_system_util.h"
|
| @@ -169,7 +170,8 @@ class LocalToRemoteSyncerTest : public testing::Test {
|
| context_.get(),
|
| SyncFileMetadata(file_change.file_type(), 0, base::Time()),
|
| file_change, local_path, url));
|
| - syncer->RunExclusive(CreateResultReceiver(&status));
|
| + syncer->RunPreflight(SyncTaskToken::CreateForTesting(
|
| + CreateResultReceiver(&status)));
|
| base::RunLoop().RunUntilIdle();
|
| return status;
|
| }
|
|
|