summaryrefslogtreecommitdiffstats
path: root/net/http/mock_http_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/mock_http_cache.h')
-rw-r--r--net/http/mock_http_cache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h
index d934e49..8e492a9 100644
--- a/net/http/mock_http_cache.h
+++ b/net/http/mock_http_cache.h
@@ -101,7 +101,7 @@ class MockDiskCache : public disk_cache::Backend {
virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry,
net::OldCompletionCallback* callback) OVERRIDE;
virtual int DoomEntry(const std::string& key,
- const net::CompletionCallback& callback) OVERRIDE;
+ net::OldCompletionCallback* callback) OVERRIDE;
virtual int DoomAllEntries(const net::CompletionCallback& callback) OVERRIDE;
virtual int DoomEntriesBetween(
const base::Time initial_time,
@@ -135,8 +135,9 @@ class MockDiskCache : public disk_cache::Backend {
private:
typedef base::hash_map<std::string, MockDiskEntry*> EntryMap;
+ class CallbackRunner;
- void CallbackLater(const net::CompletionCallback& callback, int result);
+ void CallbackLater(net::OldCompletionCallback* callback, int result);
EntryMap entries_;
int open_count_;