diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 19:11:51 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 19:11:51 +0000 |
commit | 8ebf9b135df2b2a79cf130d39a48185b8f851338 (patch) | |
tree | b1f393ed627e91bf098bffff4fac3b9f3696e59b /net/http/http_cache.h | |
parent | 0b349ba539020caa0201c6523813a16fa41a3448 (diff) | |
download | chromium_src-8ebf9b135df2b2a79cf130d39a48185b8f851338.zip chromium_src-8ebf9b135df2b2a79cf130d39a48185b8f851338.tar.gz chromium_src-8ebf9b135df2b2a79cf130d39a48185b8f851338.tar.bz2 |
base::Bind: Convert disk_cache_based_ssl_host_info.
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/8794003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r-- | net/http/http_cache.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h index 526da58..176d9ff 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -157,7 +157,8 @@ 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, OldCompletionCallback* callback); + int GetBackend(disk_cache::Backend** backend, + const CompletionCallback& callback); // Returns the current backend (can be NULL). disk_cache::Backend* GetCurrentBackend() const; @@ -190,7 +191,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, // referred to by |url| and |http_method|. void OnExternalCacheHit(const GURL& url, const std::string& http_method); - // HttpTransactionFactory implementation: + // HttpTransactionFactory implementation. virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans) OVERRIDE; virtual HttpCache* GetCache() OVERRIDE; virtual HttpNetworkSession* GetSession() OVERRIDE; @@ -243,7 +244,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, - OldCompletionCallback* callback); + const CompletionCallback& callback); // Makes sure that the backend creation is complete before allowing the // provided transaction to use the object. Returns an error code. |trans| |