Home
last modified time | relevance | path

Searched refs:MemBackendImpl (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/disk_cache/memory/
Dmem_backend_impl.cc31 MemBackendImpl::MemBackendImpl(net::NetLog* net_log) in MemBackendImpl() function in disk_cache::MemBackendImpl
35 MemBackendImpl::~MemBackendImpl() { in ~MemBackendImpl()
45 scoped_ptr<Backend> MemBackendImpl::CreateBackend(int max_bytes, in CreateBackend()
47 scoped_ptr<MemBackendImpl> cache(new MemBackendImpl(net_log)); in CreateBackend()
56 bool MemBackendImpl::Init() { in Init()
78 bool MemBackendImpl::SetMaxSize(int max_bytes) { in SetMaxSize()
91 void MemBackendImpl::InternalDoomEntry(MemEntryImpl* entry) { in InternalDoomEntry()
105 void MemBackendImpl::UpdateRank(MemEntryImpl* node) { in UpdateRank()
109 void MemBackendImpl::ModifyStorageSize(int32 old_size, int32 new_size) { in ModifyStorageSize()
116 int MemBackendImpl::MaxFileSize() const { in MaxFileSize()
[all …]
Dmem_backend_impl.h26 class NET_EXPORT_PRIVATE MemBackendImpl : public Backend {
28 explicit MemBackendImpl(net::NetLog* net_log);
29 virtual ~MemBackendImpl();
116 base::WeakPtrFactory<MemBackendImpl> weak_factory_;
118 DISALLOW_COPY_AND_ASSIGN(MemBackendImpl);
Dmem_entry_impl.h16 class MemBackendImpl; variable
53 explicit MemEntryImpl(MemBackendImpl* backend);
175 MemBackendImpl* backend_; // Back pointer to the cache.
Dmem_entry_impl.cc62 MemEntryImpl::MemEntryImpl(MemBackendImpl* backend) { in MemEntryImpl()
/external/chromium_org/net/disk_cache/
Ddisk_cache_test_base.h29 class MemBackendImpl; variable
164 disk_cache::MemBackendImpl* mem_cache_;
Dcache_creator.cc174 *backend = disk_cache::MemBackendImpl::CreateBackend(max_bytes, net_log); in CreateCacheBackend()
Ddisk_cache_test_base.cc273 mem_cache_ = new disk_cache::MemBackendImpl(NULL); in InitMemoryCache()
Dbackend_unittest.cc425 cache = disk_cache::MemBackendImpl::CreateBackend(0, NULL); in TEST_F()