summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mem_entry_impl.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:27:41 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:27:41 +0000
commit3cf35d9e60804a5398897d2abd96a6640bb4f00d (patch)
treefbc733e01fa66c118df9affcb87b85b2883349c9 /net/disk_cache/mem_entry_impl.cc
parent90fe71b4dd786fc659b7eea281dddddad8312f1a (diff)
downloadchromium_src-3cf35d9e60804a5398897d2abd96a6640bb4f00d.zip
chromium_src-3cf35d9e60804a5398897d2abd96a6640bb4f00d.tar.gz
chromium_src-3cf35d9e60804a5398897d2abd96a6640bb4f00d.tar.bz2
Disk Cache: New interface that enables asynchronous completion
of any operation that may block. BUG=26730 TEST=none Review URL: http://codereview.chromium.org/355028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/mem_entry_impl.cc')
-rw-r--r--net/disk_cache/mem_entry_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/disk_cache/mem_entry_impl.cc b/net/disk_cache/mem_entry_impl.cc
index a970070..002b514 100644
--- a/net/disk_cache/mem_entry_impl.cc
+++ b/net/disk_cache/mem_entry_impl.cc
@@ -307,6 +307,11 @@ int MemEntryImpl::GetAvailableRange(int64 offset, int len, int64* start) {
return 0;
}
+int MemEntryImpl::GetAvailableRange(int64 offset, int len, int64* start,
+ CompletionCallback* callback) {
+ return GetAvailableRange(offset, len, start);
+}
+
int MemEntryImpl::ReadyForSparseIO(
net::CompletionCallback* completion_callback) {
return net::OK;