summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-12 20:41:01 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-12 20:41:01 +0000
commit275dbf43124797427aad10c3bcb2fb59844fa88e (patch)
treed6e825f202bfb252c350903c815754c206cb4e36 /net/disk_cache/backend_impl.cc
parentc3b46a5eadb75d2d4208fcb90240917ae6f12e4f (diff)
downloadchromium_src-275dbf43124797427aad10c3bcb2fb59844fa88e.zip
chromium_src-275dbf43124797427aad10c3bcb2fb59844fa88e.tar.gz
chromium_src-275dbf43124797427aad10c3bcb2fb59844fa88e.tar.bz2
Reland r113263 rebased after revert of r113249.
base::Bind: Convert chrome_benchmarking_message_filter.cc. BUG=none TEST=none R=csilv,ajwong Review URL: http://codereview.chromium.org/8897026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r--net/disk_cache/backend_impl.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 4ffac86..1443f7f 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -1437,6 +1437,13 @@ int BackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
return net::ERR_IO_PENDING;
}
+int BackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
+ const net::CompletionCallback& callback) {
+ DCHECK(!callback.is_null());
+ background_queue_.OpenNextEntry(iter, next_entry, callback);
+ return net::ERR_IO_PENDING;
+}
+
void BackendImpl::EndEnumeration(void** iter) {
background_queue_.EndEnumeration(*iter);
*iter = NULL;