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

Unified Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 9597005: Revert 124890 - Convert uses of int ms to TimeDelta in chrome/browser and net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/protector/settings_change_global_error.cc ('k') | net/base/cookie_store_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_browser_tests.cc
===================================================================
--- chrome/browser/ssl/ssl_browser_tests.cc (revision 124890)
+++ chrome/browser/ssl/ssl_browser_tests.cc (working copy)
@@ -129,9 +129,7 @@
// Wait a bit.
MessageLoop::current()->PostDelayedTask(
- FROM_HERE,
- MessageLoop::QuitClosure(),
- base::TimeDelta::FromMilliseconds(timeout_ms));
+ FROM_HERE, MessageLoop::QuitClosure(), timeout_ms);
ui_test_utils::RunMessageLoop();
}
@@ -893,8 +891,8 @@
for (int i = 0; i < 10; i++) {
if (GetConstrainedWindowCount() > 0)
break;
- MessageLoop::current()->PostDelayedTask(
- FROM_HERE, MessageLoop::QuitClosure(), base::TimeDelta::FromSeconds(1));
+ MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ MessageLoop::QuitClosure(), 1000);
ui_test_utils::RunMessageLoop();
}
ASSERT_EQ(1, GetConstrainedWindowCount());
« no previous file with comments | « chrome/browser/protector/settings_change_global_error.cc ('k') | net/base/cookie_store_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698