summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 21:39:38 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 21:39:38 +0000
commitce3eb76d250266a2166dcacadc15b843b46b0520 (patch)
treea9b6f800beadebf4797764bc16c8460007045dd7
parent0fa4cd1ce04d5f4bd028063fa69444468d629a5c (diff)
downloadchromium_src-ce3eb76d250266a2166dcacadc15b843b46b0520.zip
chromium_src-ce3eb76d250266a2166dcacadc15b843b46b0520.tar.gz
chromium_src-ce3eb76d250266a2166dcacadc15b843b46b0520.tar.bz2
Disk cache: Fix the path for stress_cache.
r29136 broke the temp path used for stress_cache. I'm switching it back to the desired location (it should not interfere with the path for net_unittests). BUG=none TEST=none Review URL: http://codereview.chromium.org/3300019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59004 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/disk_cache/stress_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index ade7427..3420aaf 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -80,7 +80,7 @@ int MasterCode() {
// to know which instance of the application wrote them.
void StressTheCache(int iteration) {
int cache_size = 0x800000; // 8MB
- FilePath path = GetCacheFilePath().AppendASCII("_stress");
+ FilePath path = GetCacheFilePath().InsertBeforeExtensionASCII("_stress");
base::Thread cache_thread("CacheThread");
if (!cache_thread.StartWithOptions(