summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/in_flight_backend_io.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/in_flight_backend_io.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/in_flight_backend_io.cc')
-rw-r--r--net/disk_cache/in_flight_backend_io.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/disk_cache/in_flight_backend_io.cc b/net/disk_cache/in_flight_backend_io.cc
index eb42b2a..868ceed 100644
--- a/net/disk_cache/in_flight_backend_io.cc
+++ b/net/disk_cache/in_flight_backend_io.cc
@@ -384,6 +384,13 @@ void InFlightBackendIO::OpenNextEntry(void** iter, Entry** next_entry,
PostOperation(operation);
}
+void InFlightBackendIO::OpenNextEntry(void** iter, Entry** next_entry,
+ const net::CompletionCallback& callback) {
+ scoped_refptr<BackendIO> operation(new BackendIO(this, backend_, callback));
+ operation->OpenNextEntry(iter, next_entry);
+ PostOperation(operation);
+}
+
void InFlightBackendIO::OpenPrevEntry(void** iter, Entry** prev_entry,
OldCompletionCallback* callback) {
scoped_refptr<BackendIO> operation(new BackendIO(this, backend_, callback));