summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r--net/http/http_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index c756185..f6b7ffe 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -90,7 +90,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// |callback| because the object can be deleted from within the callback.
virtual int CreateBackend(NetLog* net_log,
disk_cache::Backend** backend,
- CompletionCallback* callback) = 0;
+ OldCompletionCallback* callback) = 0;
};
// A default backend factory for the common use cases.
@@ -109,7 +109,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// BackendFactory implementation.
virtual int CreateBackend(NetLog* net_log,
disk_cache::Backend** backend,
- CompletionCallback* callback);
+ OldCompletionCallback* callback);
private:
CacheType type_;
@@ -156,7 +156,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// a network error code, and it could be ERR_IO_PENDING, in which case the
// |callback| will be notified when the operation completes. The pointer that
// receives the |backend| must remain valid until the operation completes.
- int GetBackend(disk_cache::Backend** backend, CompletionCallback* callback);
+ int GetBackend(disk_cache::Backend** backend, OldCompletionCallback* callback);
// Returns the current backend (can be NULL).
disk_cache::Backend* GetCurrentBackend() const;
@@ -242,7 +242,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// Creates the |backend| object and notifies the |callback| when the operation
// completes. Returns an error code.
int CreateBackend(disk_cache::Backend** backend,
- CompletionCallback* callback);
+ OldCompletionCallback* callback);
// Makes sure that the backend creation is complete before allowing the
// provided transaction to use the object. Returns an error code. |trans|