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

Unified Diff: chrome/browser/sync/test/integration/performance/sync_timing_helper.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/performance/sync_timing_helper.cc
diff --git a/chrome/browser/sync/test/integration/performance/sync_timing_helper.cc b/chrome/browser/sync/test/integration/performance/sync_timing_helper.cc
index b5ba8a56e47c37656fe2dfe1b71b2deece6facf1..69931917ab37635b5121fa1fa642ea617915d444 100644
--- a/chrome/browser/sync/test/integration/performance/sync_timing_helper.cc
+++ b/chrome/browser/sync/test/integration/performance/sync_timing_helper.cc
@@ -17,7 +17,7 @@ SyncTimingHelper::~SyncTimingHelper() {}
base::TimeDelta SyncTimingHelper::TimeSyncCycle(
ProfileSyncServiceHarness* client) {
base::Time start = base::Time::Now();
- EXPECT_TRUE(client->AwaitFullSyncCompletion());
+ EXPECT_TRUE(client->AwaitCommitActivityCompletion());
return base::Time::Now() - start;
}

Powered by Google App Engine
This is Rietveld 408576698