diff options
Diffstat (limited to 'net/disk_cache/entry_impl.h')
-rw-r--r-- | net/disk_cache/entry_impl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/disk_cache/entry_impl.h b/net/disk_cache/entry_impl.h index 9c39223..8ab4d44 100644 --- a/net/disk_cache/entry_impl.h +++ b/net/disk_cache/entry_impl.h @@ -47,7 +47,6 @@ class EntryImpl : public Entry, public base::RefCounted<EntryImpl> { net::CompletionCallback* completion_callback); virtual int WriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len, net::CompletionCallback* completion_callback); - virtual int GetAvailableRange(int64 offset, int len, int64* start); virtual int GetAvailableRange(int64 offset, int len, int64* start, CompletionCallback* callback); virtual bool CouldBeSparse() const; @@ -122,6 +121,9 @@ class EntryImpl : public Entry, public base::RefCounted<EntryImpl> { ~EntryImpl(); + // Old Entry interface. + int GetAvailableRange(int64 offset, int len, int64* start); + // Initializes the storage for an internal or external data block. bool CreateDataBlock(int index, int size); |