| Index: net/disk_cache/stress_cache.cc
|
| ===================================================================
|
| --- net/disk_cache/stress_cache.cc (revision 151735)
|
| +++ net/disk_cache/stress_cache.cc (working copy)
|
| @@ -101,8 +101,11 @@
|
| void StressTheCache(int iteration) {
|
| int cache_size = 0x2000000; // 32MB.
|
| uint32 mask = 0xfff; // 4096 entries.
|
| - FilePath path = GetCacheFilePath().InsertBeforeExtensionASCII("_stress");
|
|
|
| + FilePath path;
|
| + PathService::Get(base::DIR_TEMP, &path);
|
| + path = path.AppendASCII("cache_test_stress");
|
| +
|
| base::Thread cache_thread("CacheThread");
|
| if (!cache_thread.StartWithOptions(
|
| base::Thread::Options(MessageLoop::TYPE_IO, 0)))
|
|
|