diff options
Diffstat (limited to 'net/disk_cache/disk_cache_test_base.cc')
-rw-r--r-- | net/disk_cache/disk_cache_test_base.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/disk_cache_test_base.cc b/net/disk_cache/disk_cache_test_base.cc index 9e7d98f6..3edfffd 100644 --- a/net/disk_cache/disk_cache_test_base.cc +++ b/net/disk_cache/disk_cache_test_base.cc @@ -74,7 +74,7 @@ void DiskCacheTestWithCache::InitDiskCache() { TestCompletionCallback cb; int rv = disk_cache::BackendImpl::CreateBackend( - path, force_creation_, size_, net::DISK_CACHE, + path, force_creation_, size_, type_, disk_cache::kNoRandom, thread, &cache_, &cb); ASSERT_EQ(net::OK, cb.GetResult(rv)); } @@ -97,6 +97,7 @@ void DiskCacheTestWithCache::InitDiskCacheImpl(const FilePath& path) { if (new_eviction_) cache_impl_->SetNewEviction(); + cache_impl_->SetType(type_); cache_impl_->SetFlags(disk_cache::kNoRandom); TestCompletionCallback cb; int rv = cache_impl_->Init(&cb); |