Home | History | Annotate | Download | only in http

Lines Matching refs:entry

40 class Entry;
166 // Writes |buf_len| bytes of metadata stored in |buf| to the cache entry
167 // referenced by |url|, as long as the entry's |expected_response_time| has
192 // Disk cache entry data indices.
212 struct PendingOp; // Info for an entry under construction.
218 explicit ActiveEntry(disk_cache::Entry* entry);
221 disk_cache::Entry* disk_entry;
251 // Dooms the entry selected by |key|. |trans| will be notified via its IO
252 // callback if this method returns ERR_IO_PENDING. The entry can be
256 // Dooms the entry selected by |key|. |trans| will be notified via its IO
257 // callback if this method returns ERR_IO_PENDING. The entry should not
261 // Closes a previously doomed entry.
262 void FinalizeDoomedEntry(ActiveEntry* entry);
264 // Returns an entry that is currently in use and not doomed, or NULL.
268 // cache entry.
269 ActiveEntry* ActivateEntry(disk_cache::Entry* disk_entry);
272 void DeactivateEntry(ActiveEntry* entry);
275 void SlowDeactivateEntry(ActiveEntry* entry);
277 // Returns the PendingOp for the desired |key|. If an entry is not under
284 // Opens the disk cache entry associated with |key|, returning an ActiveEntry
285 // in |*entry|. |trans| will be notified via its IO callback if this method
287 int OpenEntry(const std::string& key, ActiveEntry** entry,
290 // Creates the disk cache entry associated with |key|, returning an
291 // ActiveEntry in |*entry|. |trans| will be notified via its IO callback if
293 int CreateEntry(const std::string& key, ActiveEntry** entry,
297 void DestroyEntry(ActiveEntry* entry);
302 // added to the provided entry, and it should retry the process with another
303 // one (in this case, the entry is no longer valid).
304 int AddTransactionToEntry(ActiveEntry* entry, Transaction* trans);
306 // Called when the transaction has finished working with this entry. |cancel|
309 void DoneWithEntry(ActiveEntry* entry, Transaction* trans, bool cancel);
311 // Called when the transaction has finished writting to this entry. |success|
312 // is false if the cache entry should be deleted.
313 void DoneWritingToEntry(ActiveEntry* entry, bool success);
315 // Called when the transaction has finished reading from this entry.
316 void DoneReadingFromEntry(ActiveEntry* entry, Transaction* trans);
319 // transactions can start reading from this entry.
320 void ConvertWriterToReader(ActiveEntry* entry);
325 // Removes the transaction |trans|, from the pending list of an entry
326 // (PendingOp, active or doomed entry).
329 // Removes the transaction |trans|, from the pending list of |entry|.
330 bool RemovePendingTransactionFromEntry(ActiveEntry* entry,
337 // Resumes processing the pending list of |entry|.
338 void ProcessPendingQueue(ActiveEntry* entry);
342 void OnProcessPendingQueue(ActiveEntry* entry);
347 void OnIOComplete(int result, PendingOp* entry);