summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/in_flight_backend_io.cc
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 20:04:37 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 20:04:37 +0000
commit16359526ebc79731e7650f1e0d8fdbd400558ea1 (patch)
tree700c204a8e994b0c3e42b4d88b48c248d1353b6e /net/disk_cache/in_flight_backend_io.cc
parent915f251d0504a176e4a612a2b2ff2b00592a8819 (diff)
downloadchromium_src-16359526ebc79731e7650f1e0d8fdbd400558ea1.zip
chromium_src-16359526ebc79731e7650f1e0d8fdbd400558ea1.tar.gz
chromium_src-16359526ebc79731e7650f1e0d8fdbd400558ea1.tar.bz2
Revert 114838 - base::Bind: Remove even moar OldCompletionCallback.
BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8947024 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8966031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114840 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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/in_flight_backend_io.cc b/net/disk_cache/in_flight_backend_io.cc
index 30a5500..5cc6a65 100644
--- a/net/disk_cache/in_flight_backend_io.cc
+++ b/net/disk_cache/in_flight_backend_io.cc
@@ -314,7 +314,7 @@ InFlightBackendIO::InFlightBackendIO(BackendImpl* backend,
InFlightBackendIO::~InFlightBackendIO() {
}
-void InFlightBackendIO::Init(const net::CompletionCallback& callback) {
+void InFlightBackendIO::Init(OldCompletionCallback* callback) {
scoped_refptr<BackendIO> operation(new BackendIO(this, backend_, callback));
operation->Init();
PostOperation(operation);
@@ -335,7 +335,7 @@ void InFlightBackendIO::CreateEntry(const std::string& key, Entry** entry,
}
void InFlightBackendIO::DoomEntry(const std::string& key,
- const net::CompletionCallback& callback) {
+ OldCompletionCallback* callback) {
scoped_refptr<BackendIO> operation(new BackendIO(this, backend_, callback));
operation->DoomEntry(key);
PostOperation(operation);