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 2f1e94e9e2e9381a0b1571a6c23dfbd8f0abe3da..63d5134161424dc96950a5cdf32b80380de8d015 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 |
@@ -121,10 +121,8 @@ class LocalToRemoteSyncerTest : public testing::Test { |
void RegisterApp(const std::string& app_id, |
const std::string& app_root_folder_id) { |
- SyncStatusCode status = SYNC_STATUS_FAILED; |
- context_->GetMetadataDatabase()->RegisterApp( |
- app_id, app_root_folder_id, CreateResultReceiver(&status)); |
- base::RunLoop().RunUntilIdle(); |
+ SyncStatusCode status = context_->GetMetadataDatabase()->RegisterApp( |
+ app_id, app_root_folder_id); |
EXPECT_EQ(SYNC_STATUS_OK, status); |
} |