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

Unified Diff: chrome/browser/sync/glue/new_non_frontend_data_type_controller_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: 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/glue/new_non_frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
index 57d7a2e95c0ae9e3acafc3d3c903dedab0e8c367..4005e419929f0673c8b8c647c0d3249a3296c152 100644
--- a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
@@ -180,8 +180,7 @@ class SyncNewNonFrontendDataTypeControllerTest : public testing::Test {
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
base::Bind(&SyncNewNonFrontendDataTypeControllerTest::SignalDone,
&done));
- done.TimedWait(base::TimeDelta::FromMilliseconds(
- TestTimeouts::action_timeout_ms()));
+ done.TimedWait(TestTimeouts::action_timeout());
if (!done.IsSignaled()) {
ADD_FAILURE() << "Timed out waiting for DB thread to finish.";
}

Powered by Google App Engine
This is Rietveld 408576698