Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: net/http/disk_cache_based_ssl_host_info.h

Issue 8784003: base::Bind: Convert SSLHostInfo::WaitForDataReady. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/disk_cache_based_ssl_host_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/disk_cache_based_ssl_host_info.h
diff --git a/net/http/disk_cache_based_ssl_host_info.h b/net/http/disk_cache_based_ssl_host_info.h
index 42b04e8e88b6f161780b56e48af6edb5f657be22..2339ae9b1009b8457cffa4e45f6cff6ed90fae95 100644
--- a/net/http/disk_cache_based_ssl_host_info.h
+++ b/net/http/disk_cache_based_ssl_host_info.h
@@ -32,9 +32,9 @@ class NET_EXPORT_PRIVATE DiskCacheBasedSSLHostInfo
CertVerifier* cert_verifier,
HttpCache* http_cache);
- // Implementation of SSLHostInfo
+ // SSLHostInfo implementation.
virtual void Start() OVERRIDE;
- virtual int WaitForDataReady(OldCompletionCallback* callback) OVERRIDE;
+ virtual int WaitForDataReady(const CompletionCallback& callback) OVERRIDE;
virtual void Persist() OVERRIDE;
private:
@@ -115,7 +115,7 @@ class NET_EXPORT_PRIVATE DiskCacheBasedSSLHostInfo
HttpCache* const http_cache_;
disk_cache::Backend* backend_;
disk_cache::Entry* entry_;
- OldCompletionCallback* user_callback_;
+ CompletionCallback user_callback_;
scoped_refptr<IOBuffer> read_buffer_;
scoped_refptr<IOBuffer> write_buffer_;
std::string data_;
« no previous file with comments | « no previous file | net/http/disk_cache_based_ssl_host_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698