summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/stress_cache.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 19:12:15 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 19:12:15 +0000
commit3fd7933a5e06cc4c64bea3e61d1114cb895e3d0e (patch)
treec5edd75ad837ac0ce2f9a3cbc53a9b1d961bcfee /net/disk_cache/stress_cache.cc
parenta74aa93cf049d625875d215c8cbea46313f827c5 (diff)
downloadchromium_src-3fd7933a5e06cc4c64bea3e61d1114cb895e3d0e.zip
chromium_src-3fd7933a5e06cc4c64bea3e61d1114cb895e3d0e.tar.gz
chromium_src-3fd7933a5e06cc4c64bea3e61d1114cb895e3d0e.tar.bz2
Revert 51858 - Disk cache: Switch the disk cache to use the cache_thread.
Add an InFlightBackendIO class that handles posting of cacheoperations back and forth between the IO thread and the cachethread. BUG=26730 TEST=unit tests Review URL: http://codereview.chromium.org/2827043 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/2944002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/stress_cache.cc')
-rw-r--r--net/disk_cache/stress_cache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index b153659..db84fd8 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -140,6 +140,7 @@ void StressTheCache(int iteration) {
if (!(i % 100))
printf("Entries: %d \r", i);
+ MessageLoop::current()->RunAllPending();
}
}