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

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

Issue 10689157: Switch to TimeDelta interfaces for TestTimeouts in sync code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: chrome/browser/sync/test/integration/sync_test.h
diff --git a/chrome/browser/sync/test/integration/sync_test.h b/chrome/browser/sync/test/integration/sync_test.h
index af3c4071dcb75b3993978c08f7b957b0a258b3eb..79aebff17cb0dea69643ffb19aa7f39acb5cf828 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -275,11 +275,11 @@ class SyncTest : public InProcessBrowserTest {
// created. Returns true if successful.
bool TearDownLocalTestServer();
- // Helper method that waits for up to |time_ms| milliseconds for the test
- // server to start. Splits the time into |intervals| intervals, and polls the
+ // Helper method that waits for up to |time| seconds for the test server
akalin 2012/07/11 20:35:15 remove 'seconds '? perhaps rename 'time' to 'wait
+ // to start. Splits the time into |intervals| intervals, and polls the
// server after each interval to see if it has started. Returns true if
// successful.
- bool WaitForTestServerToStart(int time_ms, int intervals);
+ bool WaitForTestServerToStart(base::TimeDelta time, int intervals);
// Helper method used to check if the test server is up and running.
bool IsTestServerRunning();

Powered by Google App Engine
This is Rietveld 408576698