Home | History | Annotate | Download | only in http

Lines Matching refs:ActiveEntry

217   struct ActiveEntry {
218 explicit ActiveEntry(disk_cache::Entry* entry);
219 ~ActiveEntry();
229 typedef base::hash_map<std::string, ActiveEntry*> ActiveEntriesMap;
231 typedef std::set<ActiveEntry*> ActiveEntriesSet;
262 void FinalizeDoomedEntry(ActiveEntry* entry);
265 ActiveEntry* FindActiveEntry(const std::string& key);
267 // Creates a new ActiveEntry and starts tracking it. |disk_entry| is the disk
269 ActiveEntry* ActivateEntry(disk_cache::Entry* disk_entry);
271 // Deletes an ActiveEntry.
272 void DeactivateEntry(ActiveEntry* entry);
274 // Deletes an ActiveEntry using an exhaustive search.
275 void SlowDeactivateEntry(ActiveEntry* entry);
284 // Opens the disk cache entry associated with |key|, returning an ActiveEntry
287 int OpenEntry(const std::string& key, ActiveEntry** entry,
291 // ActiveEntry in |*entry|. |trans| will be notified via its IO callback if
293 int CreateEntry(const std::string& key, ActiveEntry** entry,
296 // Destroys an ActiveEntry (active or doomed).
297 void DestroyEntry(ActiveEntry* entry);
299 // Adds a transaction to an ActiveEntry. If this method returns ERR_IO_PENDING
304 int AddTransactionToEntry(ActiveEntry* entry, Transaction* trans);
309 void DoneWithEntry(ActiveEntry* entry, Transaction* trans, bool cancel);
313 void DoneWritingToEntry(ActiveEntry* entry, bool success);
316 void DoneReadingFromEntry(ActiveEntry* entry, Transaction* trans);
320 void ConvertWriterToReader(ActiveEntry* entry);
330 bool RemovePendingTransactionFromEntry(ActiveEntry* entry,
338 void ProcessPendingQueue(ActiveEntry* entry);
342 void OnProcessPendingQueue(ActiveEntry* entry);