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-02 01:07:35 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 01:07:35 +0000
commit19695a2dc9e77d00bf7205225467ebf8ffb16da4 (patch)
treeb9274b10cbf335f8c7f30dad86cbda4ad607ac98 /net/disk_cache/stress_cache.cc
parentd217dacf73359389da9bf64bc64742e525338aac (diff)
downloadchromium_src-19695a2dc9e77d00bf7205225467ebf8ffb16da4.zip
chromium_src-19695a2dc9e77d00bf7205225467ebf8ffb16da4.tar.gz
chromium_src-19695a2dc9e77d00bf7205225467ebf8ffb16da4.tar.bz2
Revert 51456 - 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/2841034 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/2881010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51469 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();
}
}