Lines Matching refs:MockDiskCache
414 MockDiskCache::MockDiskCache() in MockDiskCache() function in net::MockDiskCache
429 MockDiskCache::~MockDiskCache() { in ~MockDiskCache()
433 int32_t MockDiskCache::GetEntryCount() const { in GetEntryCount()
437 disk_cache::EntryResult MockDiskCache::OpenOrCreateEntry( in OpenOrCreateEntry()
471 disk_cache::EntryResult MockDiskCache::OpenEntry( in OpenEntry()
515 disk_cache::EntryResult MockDiskCache::CreateEntry( in CreateEntry()
575 net::Error MockDiskCache::DoomEntry(const std::string& key, in DoomEntry()
601 net::Error MockDiskCache::DoomAllEntries(CompletionOnceCallback callback) { in DoomAllEntries()
605 net::Error MockDiskCache::DoomEntriesBetween(const base::Time initial_time, in DoomEntriesBetween()
611 net::Error MockDiskCache::DoomEntriesSince(const base::Time initial_time, in DoomEntriesSince()
616 int64_t MockDiskCache::CalculateSizeOfAllEntries( in CalculateSizeOfAllEntries()
621 class MockDiskCache::NotImplementedIterator : public Iterator {
628 std::unique_ptr<disk_cache::Backend::Iterator> MockDiskCache::CreateIterator() { in CreateIterator()
632 void MockDiskCache::GetStats(base::StringPairs* stats) { in GetStats()
635 void MockDiskCache::OnExternalCacheHit(const std::string& key) { in OnExternalCacheHit()
639 size_t MockDiskCache::DumpMemoryStats( in DumpMemoryStats()
645 uint8_t MockDiskCache::GetEntryInMemoryData(const std::string& key) { in GetEntryInMemoryData()
655 void MockDiskCache::SetEntryInMemoryData(const std::string& key, uint8_t data) { in SetEntryInMemoryData()
661 int64_t MockDiskCache::MaxFileSize() const { in MaxFileSize()
665 void MockDiskCache::ReleaseAll() { in ReleaseAll()
671 void MockDiskCache::CallbackLater(base::OnceClosure callback) { in CallbackLater()
675 bool MockDiskCache::IsDiskEntryDoomed(const std::string& key) { in IsDiskEntryDoomed()
683 void MockDiskCache::ResumeCacheOperation() { in ResumeCacheOperation()
688 scoped_refptr<MockDiskEntry> MockDiskCache::GetDiskEntryRef( in GetDiskEntryRef()
696 const std::vector<std::string>& MockDiskCache::GetExternalCacheHits() const { in GetExternalCacheHits()
706 backend->reset(new MockDiskCache()); in CreateBackend()
736 MockDiskCache* MockHttpCache::disk_cache() { in disk_cache()
737 return static_cast<MockDiskCache*>(backend()); in disk_cache()
893 backend->reset(new MockDiskCache()); in CreateBackend()
906 backend_->reset(new MockDiskCache()); in FinishCreation()