Searched refs:MemBackendImpl (Results 1 – 9 of 9) sorted by relevance
/external/cronet/net/disk_cache/memory/ |
D | mem_backend_impl.cc | 45 MemBackendImpl::MemBackendImpl(net::NetLog* net_log) in MemBackendImpl() function in disk_cache::MemBackendImpl 50 base::BindRepeating(&MemBackendImpl::OnMemoryPressure, in MemBackendImpl() 53 MemBackendImpl::~MemBackendImpl() { in ~MemBackendImpl() 63 std::unique_ptr<MemBackendImpl> MemBackendImpl::CreateBackend( in CreateBackend() 66 std::unique_ptr<MemBackendImpl> cache( in CreateBackend() 67 std::make_unique<MemBackendImpl>(net_log)); in CreateBackend() 75 bool MemBackendImpl::Init() { in Init() 97 bool MemBackendImpl::SetMaxSize(int64_t max_bytes) { in SetMaxSize() 109 int64_t MemBackendImpl::MaxFileSize() const { in MaxFileSize() 113 void MemBackendImpl::OnEntryInserted(MemEntryImpl* entry) { in OnEntryInserted() [all …]
|
D | mem_backend_impl.h | 39 class NET_EXPORT_PRIVATE MemBackendImpl final : public Backend { 41 explicit MemBackendImpl(net::NetLog* net_log); 43 MemBackendImpl(const MemBackendImpl&) = delete; 44 MemBackendImpl& operator=(const MemBackendImpl&) = delete; 46 ~MemBackendImpl() override; 53 static std::unique_ptr<MemBackendImpl> CreateBackend(int64_t max_bytes, 94 static base::Time Now(const base::WeakPtr<MemBackendImpl>& self); 159 base::WeakPtrFactory<MemBackendImpl> weak_factory_{this};
|
D | mem_entry_impl.h | 32 class MemBackendImpl; variable 77 MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, 82 MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, 143 MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, 197 base::WeakPtr<MemBackendImpl> backend_; // Back pointer to the cache.
|
D | mem_entry_impl.cc | 78 MemEntryImpl::MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, in MemEntryImpl() 92 MemEntryImpl::MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, in MemEntryImpl() 130 last_used_ = MemBackendImpl::Now(backend_); in UpdateStateOnUse() 286 MemEntryImpl::MemEntryImpl(base::WeakPtr<MemBackendImpl> backend, in MemEntryImpl() 294 last_modified_(MemBackendImpl::Now(backend)), in MemEntryImpl()
|
/external/cronet/net/disk_cache/ |
D | disk_cache_test_base.h | 33 class MemBackendImpl; variable 206 raw_ptr<disk_cache::MemBackendImpl> mem_cache_ = nullptr;
|
D | disk_cache.cc | 326 std::unique_ptr<MemBackendImpl> mem_backend_impl = in CreateCacheBackendImpl() 327 disk_cache::MemBackendImpl::CreateBackend(max_bytes, net_log); in CreateCacheBackendImpl()
|
D | disk_cache_test_base.cc | 365 auto cache = std::make_unique<disk_cache::MemBackendImpl>(nullptr); in InitMemoryCache()
|
D | disk_cache_fuzzer.cc | 208 raw_ptr<disk_cache::MemBackendImpl> mem_cache_ = nullptr; 1158 auto cache = std::make_unique<disk_cache::MemBackendImpl>(nullptr); in CreateBackend()
|
D | backend_unittest.cc | 596 cache = disk_cache::MemBackendImpl::CreateBackend(0, nullptr); in TEST_F()
|