Lines Matching defs:BackendImpl
220 disk_cache::BackendImpl* cache_;
228 cache_ = new disk_cache::BackendImpl(path_, thread_, net_log_);
273 explicit FinalCleanup(disk_cache::BackendImpl* backend) : backend_(backend) {}
278 disk_cache::BackendImpl* backend_;
303 return BackendImpl::CreateBackend(path, force, max_bytes, type, kNone, thread,
338 BackendImpl::BackendImpl(const FilePath& path,
363 BackendImpl::BackendImpl(const FilePath& path,
389 BackendImpl::~BackendImpl() {
412 int BackendImpl::CreateBackend(const FilePath& full_path, bool force,
425 int BackendImpl::Init(CompletionCallback* callback) {
430 int BackendImpl::SyncInit() {
450 &BackendImpl::OnStatsTimer);
516 void BackendImpl::CleanupCache() {
540 int BackendImpl::OpenPrevEntry(void** iter, Entry** prev_entry,
547 int BackendImpl::SyncOpenEntry(const std::string& key, Entry** entry) {
553 int BackendImpl::SyncCreateEntry(const std::string& key, Entry** entry) {
559 int BackendImpl::SyncDoomEntry(const std::string& key) {
572 int BackendImpl::SyncDoomAllEntries() {
588 int BackendImpl::SyncDoomEntriesBetween(const base::Time initial_time,
627 int BackendImpl::SyncDoomEntriesSince(const base::Time initial_time) {
651 int BackendImpl::SyncOpenNextEntry(void** iter, Entry** next_entry) {
656 int BackendImpl::SyncOpenPrevEntry(void** iter, Entry** prev_entry) {
661 void BackendImpl::SyncEndEnumeration(void* iter) {
666 EntryImpl* BackendImpl::OpenEntryImpl(const std::string& key) {
697 EntryImpl* BackendImpl::CreateEntryImpl(const std::string& key) {
794 EntryImpl* BackendImpl::OpenNextEntryImpl(void** iter) {
798 EntryImpl* BackendImpl::OpenPrevEntryImpl(void** iter) {
802 bool BackendImpl::SetMaxSize(int max_bytes) {
820 void BackendImpl::SetType(net::CacheType type) {
825 FilePath BackendImpl::GetFileName(Addr address) const {
835 MappedFile* BackendImpl::File(Addr address) {
841 bool BackendImpl::CreateExternalFile(Addr* address) {
877 bool BackendImpl::CreateBlock(FileType block_type, int block_count,
882 void BackendImpl::DeleteBlock(Addr block_address, bool deep) {
886 LruData* BackendImpl::GetLruData() {
890 void BackendImpl::UpdateRank(EntryImpl* entry, bool modified) {
896 void BackendImpl::RecoveredEntry(CacheRankingsBlock* rankings) {
912 void BackendImpl::InternalDoomEntry(EntryImpl* entry) {
942 void BackendImpl::RemoveEntry(EntryImpl* entry) {
953 void BackendImpl::OnEntryDestroyBegin(Addr address) {
959 void BackendImpl::OnEntryDestroyEnd() {
965 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const {
977 int32 BackendImpl::GetCurrentEntryId() const {
981 int BackendImpl::MaxFileSize() const {
985 void BackendImpl::ModifyStorageSize(int32 old_size, int32 new_size) {
997 void BackendImpl::TooMuchStorageRequested(int32 size) {
1001 bool BackendImpl::IsAllocAllowed(int current_size, int new_size) {
1015 void BackendImpl::BufferDeleted(int size) {
1020 bool BackendImpl::IsLoaded() const {
1028 std::string BackendImpl::HistogramName(const char* name, int experiment) const {
1035 base::WeakPtr<BackendImpl> BackendImpl::GetWeakPtr() {
1039 int BackendImpl::GetSizeGroup() const {
1052 bool BackendImpl::ShouldReportAgain() {
1067 void BackendImpl::FirstEviction() {
1106 void BackendImpl::CriticalError(int error) {
1122 factory_.NewRunnableMethod(&BackendImpl::RestartCache, true));
1125 void BackendImpl::ReportError(int error) {
1131 void BackendImpl::OnEvent(Stats::Counters an_event) {
1135 void BackendImpl::OnRead(int32 bytes) {
1142 void BackendImpl::OnWrite(int32 bytes) {
1147 void BackendImpl::OnStatsTimer() {
1183 void BackendImpl::IncrementIoCount() {
1187 void BackendImpl::DecrementIoCount() {
1191 void BackendImpl::SetUnitTestMode() {
1196 void BackendImpl::SetUpgradeMode() {
1201 void BackendImpl::SetNewEviction() {
1206 void BackendImpl::SetFlags(uint32 flags) {
1210 void BackendImpl::ClearRefCountForTest() {
1214 int BackendImpl::FlushQueueForTest(CompletionCallback* callback) {
1219 int BackendImpl::RunTaskForTest(Task* task, CompletionCallback* callback) {
1224 void BackendImpl::TrimForTest(bool empty) {
1229 void BackendImpl::TrimDeletedListForTest(bool empty) {
1234 int BackendImpl::SelfCheck() {
1256 int32 BackendImpl::GetEntryCount() const {
1271 int BackendImpl::OpenEntry(const std::string& key, Entry** entry,
1278 int BackendImpl::CreateEntry(const std::string& key, Entry** entry,
1285 int BackendImpl::DoomEntry(const std::string& key,
1292 int BackendImpl::DoomAllEntries(CompletionCallback* callback) {
1298 int BackendImpl::DoomEntriesBetween(const base::Time initial_time,
1306 int BackendImpl::DoomEntriesSince(const base::Time initial_time,
1313 int BackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
1320 void BackendImpl::EndEnumeration(void** iter) {
1325 void BackendImpl::GetStats(StatsItems* stats) {
1354 bool BackendImpl::CreateBackingStore(disk_cache::File* file) {
1372 bool BackendImpl::InitBackingStore(bool* file_created) {
1414 void BackendImpl::AdjustMaxCacheSize(int table_len) {
1451 void BackendImpl::RestartCache(bool failure) {
1478 void BackendImpl::PrepareForRestart() {
1502 int BackendImpl::NewEntry(Addr address, EntryImpl** entry) {
1571 EntryImpl* BackendImpl::MatchEntry(const std::string& key, uint32 hash,
1673 EntryImpl* BackendImpl::OpenFollowingEntry(bool forward, void** iter) {
1749 bool BackendImpl::OpenFollowingEntryFromList(bool forward, Rankings::List list,
1773 EntryImpl* BackendImpl::GetEnumeratedEntry(CacheRankingsBlock* next,
1815 EntryImpl* BackendImpl::ResurrectEntry(EntryImpl* deleted_entry) {
1834 void BackendImpl::DestroyInvalidEntry(EntryImpl* entry) {
1848 void BackendImpl::AddStorageSize(int32 bytes) {
1853 void BackendImpl::SubstractStorageSize(int32 bytes) {
1858 void BackendImpl::IncreaseNumRefs() {
1864 void BackendImpl::DecreaseNumRefs() {
1870 factory_.NewRunnableMethod(&BackendImpl::RestartCache, true));
1873 void BackendImpl::IncreaseNumEntries() {
1878 void BackendImpl::DecreaseNumEntries() {
1886 void BackendImpl::LogStats() {
1894 void BackendImpl::ReportStats() {
1985 void BackendImpl::UpgradeTo2_1() {
1993 bool BackendImpl::CheckIndex() {
2054 int BackendImpl::CheckAllEntries() {
2092 bool BackendImpl::CheckEntry(EntryImpl* cache_entry) {
2108 int BackendImpl::MaxBuffersSize() {