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

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: Fix error messaging again. 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 ef8f5de9a775da3f04f5e2509e703a3ee36e47dd..eb2a0abcf2305cc43d533cbccde085e4ab2d5cdb 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -274,11 +274,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 |wait| for the test server
+ // 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 wait, int intervals);
// Helper method used to check if the test server is up and running.
bool IsTestServerRunning();
« no previous file with comments | « chrome/browser/sync/test/integration/sessions_helper.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698