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

Unified Diff: chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc

Issue 148723002: [sync] Eliminate Await*SyncCompletion methods in integration tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback Created 6 years, 11 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/test/integration/two_client_dictionary_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc b/chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc
index 315c9bf5df16691bd6216a6e89fea0231a1faa7b..7d160d117f7100478d80823e7888b8bcb7277dc2 100644
--- a/chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc
+++ b/chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc
@@ -106,7 +106,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientDictionarySyncTest, DisableSync) {
ASSERT_TRUE(GetClient(1)->DisableSyncForAllDatatypes());
ASSERT_TRUE(dictionary_helper::AddWord(0, "foo"));
- ASSERT_TRUE(GetClient(0)->AwaitFullSyncCompletion());
+ ASSERT_TRUE(GetClient(0)->AwaitCommitActivityCompletion());
ASSERT_TRUE(dictionary_helper::DictionaryMatchesVerifier(0));
ASSERT_FALSE(dictionary_helper::DictionaryMatchesVerifier(1));
}

Powered by Google App Engine
This is Rietveld 408576698