Home | History | Annotate | Download | only in http

Lines Matching refs:ActiveEntry

223   struct ActiveEntry {
224 explicit ActiveEntry(disk_cache::Entry* entry);
225 ~ActiveEntry();
235 typedef base::hash_map<std::string, ActiveEntry*> ActiveEntriesMap;
237 typedef std::set<ActiveEntry*> ActiveEntriesSet;
275 void FinalizeDoomedEntry(ActiveEntry* entry);
278 ActiveEntry* FindActiveEntry(const std::string& key);
280 // Creates a new ActiveEntry and starts tracking it. |disk_entry| is the disk
282 ActiveEntry* ActivateEntry(disk_cache::Entry* disk_entry);
284 // Deletes an ActiveEntry.
285 void DeactivateEntry(ActiveEntry* entry);
287 // Deletes an ActiveEntry using an exhaustive search.
288 void SlowDeactivateEntry(ActiveEntry* entry);
297 // Opens the disk cache entry associated with |key|, returning an ActiveEntry
300 int OpenEntry(const std::string& key, ActiveEntry** entry,
304 // ActiveEntry in |*entry|. |trans| will be notified via its IO callback if
306 int CreateEntry(const std::string& key, ActiveEntry** entry,
309 // Destroys an ActiveEntry (active or doomed).
310 void DestroyEntry(ActiveEntry* entry);
312 // Adds a transaction to an ActiveEntry. If this method returns ERR_IO_PENDING
317 int AddTransactionToEntry(ActiveEntry* entry, Transaction* trans);
322 void DoneWithEntry(ActiveEntry* entry, Transaction* trans, bool cancel);
326 void DoneWritingToEntry(ActiveEntry* entry, bool success);
329 void DoneReadingFromEntry(ActiveEntry* entry, Transaction* trans);
333 void ConvertWriterToReader(ActiveEntry* entry);
343 bool RemovePendingTransactionFromEntry(ActiveEntry* entry,
351 void ProcessPendingQueue(ActiveEntry* entry);
355 void OnProcessPendingQueue(ActiveEntry* entry);