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

Unified Diff: chrome/browser/debugger/devtools_sanity_unittest.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/browser_focus_uitest.cc ('k') | chrome/browser/metrics/histogram_synchronizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/debugger/devtools_sanity_unittest.cc
===================================================================
--- chrome/browser/debugger/devtools_sanity_unittest.cc (revision 124890)
+++ chrome/browser/debugger/devtools_sanity_unittest.cc (working copy)
@@ -203,7 +203,7 @@
base::CancelableClosure timeout(
base::Bind(&TimeoutCallback, "Extension load timed out."));
MessageLoop::current()->PostDelayedTask(
- FROM_HERE, timeout.callback(), base::TimeDelta::FromSeconds(4));
+ FROM_HERE, timeout.callback(), 4 * 1000);
extensions::UnpackedInstaller::Create(service)->Load(path);
ui_test_utils::RunMessageLoop();
timeout.Cancel();
@@ -226,7 +226,7 @@
base::CancelableClosure timeout(
base::Bind(&TimeoutCallback, "Extension host load timed out."));
MessageLoop::current()->PostDelayedTask(
- FROM_HERE, timeout.callback(), base::TimeDelta::FromSeconds(4));
+ FROM_HERE, timeout.callback(), 4 * 1000);
ExtensionProcessManager* manager =
browser()->profile()->GetExtensionProcessManager();
« no previous file with comments | « chrome/browser/browser_focus_uitest.cc ('k') | chrome/browser/metrics/histogram_synchronizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698