summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mem_entry_impl.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 21:59:39 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 21:59:39 +0000
commit3f73cd3125ed49700efa501a330eebc322421433 (patch)
treee1133de7529df3507f9003db310b515bdc45afac /net/disk_cache/mem_entry_impl.h
parenta03c3d75111333c6f34ee8e6c2f3bac3208f4a13 (diff)
downloadchromium_src-3f73cd3125ed49700efa501a330eebc322421433.zip
chromium_src-3f73cd3125ed49700efa501a330eebc322421433.tar.gz
chromium_src-3f73cd3125ed49700efa501a330eebc322421433.tar.bz2
Disk Cache: Remove deprecated methods from the disk cache interface.
BUG=26730 TEST=current tests Review URL: http://codereview.chromium.org/2869005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/mem_entry_impl.h')
-rw-r--r--net/disk_cache/mem_entry_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h
index 8703585..66535d5 100644
--- a/net/disk_cache/mem_entry_impl.h
+++ b/net/disk_cache/mem_entry_impl.h
@@ -67,7 +67,6 @@ class MemEntryImpl : public Entry {
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;
@@ -113,6 +112,9 @@ class MemEntryImpl : public Entry {
~MemEntryImpl();
+ // Old Entry interface.
+ int GetAvailableRange(int64 offset, int len, int64* start);
+
// Grows and cleans up the data buffer.
void PrepareTarget(int index, int offset, int buf_len);