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

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

Issue 2379433002: [Sync] Refactoring of sync integration test checkers to remove boilerplate await methods. (Closed)
Patch Set: Rebase Created 4 years, 2 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/quiesce_status_change_checker.cc
diff --git a/chrome/browser/sync/test/integration/quiesce_status_change_checker.cc b/chrome/browser/sync/test/integration/quiesce_status_change_checker.cc
index 38476a97e3a3a6273f716c3d2897e4138653103b..6206314be0d1b651920b4bd7c66a9cefa36dbf84 100644
--- a/chrome/browser/sync/test/integration/quiesce_status_change_checker.cc
+++ b/chrome/browser/sync/test/integration/quiesce_status_change_checker.cc
@@ -153,17 +153,6 @@ QuiesceStatusChangeChecker::QuiesceStatusChangeChecker(
QuiesceStatusChangeChecker::~QuiesceStatusChangeChecker() {}
-void QuiesceStatusChangeChecker::Wait() {
- DVLOG(1) << "Await: " << GetDebugMessage();
-
- if (IsExitConditionSatisfied()) {
- DVLOG(1) << "Await -> Exit before waiting: " << GetDebugMessage();
- return;
- }
-
- StartBlockingWait();
-}
-
bool QuiesceStatusChangeChecker::IsExitConditionSatisfied() {
// Check that all progress markers are up to date.
for (ScopedVector<ProgressMarkerWatcher>::const_iterator it =

Powered by Google App Engine
This is Rietveld 408576698