Index: net/disk_cache/backend_impl.h |
=================================================================== |
--- net/disk_cache/backend_impl.h (revision 21923) |
+++ net/disk_cache/backend_impl.h (working copy) |
@@ -105,9 +105,10 @@ |
// |address| is the cache address of the entry. |
void CacheEntryDestroyed(Addr address); |
- // Returns true if the data stored by the provided |rankings| points to an |
- // open entry, false otherwise. |
- bool IsOpen(CacheRankingsBlock* rankings) const; |
+ // If the data stored by the provided |rankings| points to an open entry, |
+ // returns a pointer to that entry, oterwise returns NULL. Note that this |
Nicolas Sylvain
2009/07/30 18:37:28
otherwise
|
+ // method does NOT increase the ref counter for the entry. |
+ EntryImpl* GetOpenEntry(CacheRankingsBlock* rankings) const; |
// Returns the id being used on this run of the cache. |
int32 GetCurrentEntryId() const; |