Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1800)

Unified Diff: chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc

Issue 558603002: [SyncFS] Make MetadataDatabase operations synchronous (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_create
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698