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

Unified Diff: chrome/browser/sync/profile_sync_service_password_unittest.cc

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/profile_sync_service_password_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc
index 81d2f1c9325c262d1a454af6e8eb4452870c762d..5597cdb415c0eaab0cdb66706a3577e192eccfe3 100644
--- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
@@ -164,8 +164,7 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
BrowserThread::PostTask(
BrowserThread::DB, FROM_HERE,
base::Bind(&ProfileSyncServicePasswordTest::SignalEvent, &done));
- done.TimedWait(base::TimeDelta::FromMilliseconds(
- TestTimeouts::action_timeout_ms()));
+ done.TimedWait(TestTimeouts::action_timeout());
}
void StartSyncService(const base::Closure& root_callback,

Powered by Google App Engine
This is Rietveld 408576698