diff options
Diffstat (limited to 'net/disk_cache/in_flight_backend_io.h')
-rw-r--r-- | net/disk_cache/in_flight_backend_io.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/disk_cache/in_flight_backend_io.h b/net/disk_cache/in_flight_backend_io.h index 8d4024a..c3a52d5 100644 --- a/net/disk_cache/in_flight_backend_io.h +++ b/net/disk_cache/in_flight_backend_io.h @@ -149,13 +149,14 @@ class InFlightBackendIO : public InFlightIO { base::MessageLoopProxy* background_thread); virtual ~InFlightBackendIO(); - // The operations we proxy: - void Init(net::OldCompletionCallback* callback); + // Proxied operations. + void Init(const net::CompletionCallback& callback); void OpenEntry(const std::string& key, Entry** entry, net::OldCompletionCallback* callback); void CreateEntry(const std::string& key, Entry** entry, net::OldCompletionCallback* callback); - void DoomEntry(const std::string& key, net::OldCompletionCallback* callback); + void DoomEntry(const std::string& key, + const net::CompletionCallback& callback); void DoomAllEntries(const net::CompletionCallback& callback); void DoomEntriesBetween(const base::Time initial_time, const base::Time end_time, |