Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:Rankings

51 class Rankings {
64 // Rankings whenever a CacheRankingsBlock is deleted, to keep track of cache
69 explicit ScopedRankingsBlock(Rankings* rankings) : rankings_(rankings) {}
70 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node)
71 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {}
77 void set_rankings(Rankings* rankings) {
78 rankings_ = rankings;
89 Rankings* rankings_;
96 explicit Iterator(Rankings* rankings);
101 Rankings* my_rankings;
104 Rankings();
105 ~Rankings();
154 // Gets the rankings information for a given rankings node. We may end up
156 // reference to that entry, so |rankings| must be short lived.
157 bool GetRanking(CacheRankingsBlock* rankings);
159 // Makes |rankings| suitable to live a long life.
160 void ConvertToLongLived(CacheRankingsBlock* rankings);
164 void FinishInsert(CacheRankingsBlock* rankings);
165 void RevertRemove(CacheRankingsBlock* rankings);
169 bool CheckEntry(CacheRankingsBlock* rankings);
206 DISALLOW_COPY_AND_ASSIGN(Rankings);