Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc |
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc |
index cd0878f92a035530a977d990aca401fd04ec7fae..3b0b97525fa2542533b3bacb63f7fdbeab3a094b 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc |
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc |
@@ -122,10 +122,8 @@ class RemoteToLocalSyncerTest : 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); |
} |