Home | History | Annotate | Download | only in base

Lines Matching defs:Entry

23   struct Entry : public base::RefCounted<Entry> {
24 Entry(int error, const AddressList& addrlist, base::TimeTicks expiration);
26 // The resolve results for this entry.
30 // The time when this entry expires.
34 friend class base::RefCounted<Entry>;
36 ~Entry();
58 typedef std::map<Key, scoped_refptr<Entry> > EntryMap;
69 // Returns a pointer to the entry for |key|, which is valid at time
70 // |now|. If there is no such entry, returns NULL.
71 const Entry* Lookup(const Key& key, base::TimeTicks now) const;
73 // Overwrites or creates an entry for |key|. Returns the pointer to the
74 // entry, or NULL on failure (fails if caching is disabled).
77 Entry* Set(const Key& key,
118 // Returns true if this cache entry's result is valid at time |now|.
119 static bool CanUseEntry(const Entry* entry, const base::TimeTicks now);
121 // Prunes entries from the cache to bring it below max entry bound. Entries
123 void Compact(base::TimeTicks now, const Entry* pinned_entry);
133 // a resolved result entry.