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

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

Issue 299843007: sync: Refactor StatusChangeChecker hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 6 years, 7 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.h
diff --git a/chrome/browser/sync/test/integration/quiesce_status_change_checker.h b/chrome/browser/sync/test/integration/quiesce_status_change_checker.h
index 59f2fb5be6081c2330548e4b8fc9e4f957aaf43c..ab16a28a0c6a48b77ac23bbfffca7c09dfa7e946 100644
--- a/chrome/browser/sync/test/integration/quiesce_status_change_checker.h
+++ b/chrome/browser/sync/test/integration/quiesce_status_change_checker.h
@@ -34,27 +34,19 @@ class QuiesceStatusChangeChecker : public StatusChangeChecker {
std::vector<ProfileSyncService*> services);
virtual ~QuiesceStatusChangeChecker();
- // Timeout length for this operation. Default is 45s.
- virtual base::TimeDelta GetTimeoutDuration();
-
// Blocks until all clients have quiesced or we time out.
void Wait();
// A callback function for some helper objects.
void OnServiceStateChanged(ProfileSyncService* service);
- // A callback for when the time limit is exceeded.
- void OnTimeout();
-
+ // Implementation of StatusChangeChecker.
virtual bool IsExitConditionSatisfied() OVERRIDE;
virtual std::string GetDebugMessage() const OVERRIDE;
- bool TimedOut() const;
-
private:
std::vector<ProfileSyncService*> services_;
ScopedVector<ProgressMarkerWatcher> observers_;
- bool timed_out_;
DISALLOW_COPY_AND_ASSIGN(QuiesceStatusChangeChecker);
};

Powered by Google App Engine
This is Rietveld 408576698