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

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

Issue 558603002: [SyncFS] Make MetadataDatabase operations synchronous (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_create
Patch Set: +TODO 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/conflict_resolver_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc b/chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc
index 04837190850cfd4e857d975011fa4eb2b025510a..f23b9e997dd7bfdcfdb174f5c8e5e1faf9c72e48 100644
--- a/chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc
@@ -119,10 +119,8 @@ class ConflictResolverTest : 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