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

Unified Diff: net/disk_cache/stress_cache.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 | « net/curvecp/client_packetizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/stress_cache.cc
===================================================================
--- net/disk_cache/stress_cache.cc (revision 124890)
+++ net/disk_cache/stress_cache.cc (working copy)
@@ -208,7 +208,7 @@
}
void RunSoon(MessageLoop* target_loop) {
- const base::TimeDelta kTaskDelay = base::TimeDelta::FromSeconds(10);
+ const int kTaskDelay = 10000; // 10 seconds
target_loop->PostDelayedTask(
FROM_HERE, base::Bind(&CrashCallback), kTaskDelay);
}
« no previous file with comments | « net/curvecp/client_packetizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698