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

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

Issue 387763002: sync: Re-enable some migration integration tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/browser/sync/test/integration/status_change_checker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/status_change_checker.cc
diff --git a/chrome/browser/sync/test/integration/status_change_checker.cc b/chrome/browser/sync/test/integration/status_change_checker.cc
index d8cbd1ad61bdf34effda864f4b3f63cb5866ca79..7ad6d6b88335f99c59711136aa81af0f7af4b7b5 100644
--- a/chrome/browser/sync/test/integration/status_change_checker.cc
+++ b/chrome/browser/sync/test/integration/status_change_checker.cc
@@ -8,9 +8,8 @@
#include "base/message_loop/message_loop.h"
#include "base/timer/timer.h"
-StatusChangeChecker::StatusChangeChecker()
- : timed_out_(false),
- wait_started_(false) {}
+StatusChangeChecker::StatusChangeChecker() : timed_out_(false) {
+}
StatusChangeChecker::~StatusChangeChecker() {}
@@ -23,9 +22,6 @@ base::TimeDelta StatusChangeChecker::GetTimeoutDuration() {
}
void StatusChangeChecker::StartBlockingWait() {
- DCHECK(!wait_started_) << "This class is intended for one use only.";
- wait_started_ = true;
-
base::OneShotTimer<StatusChangeChecker> timer;
timer.Start(FROM_HERE,
GetTimeoutDuration(),
« no previous file with comments | « chrome/browser/sync/test/integration/status_change_checker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698