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

Unified Diff: net/http/disk_cache_based_ssl_host_info.h

Issue 7715007: Do not call callback->Run() until we are about to return from this (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add NET_EXPORT_PRIVATE to DiskCacheBasedSSLHostInfo. Created 9 years, 4 months 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
===================================================================
--- net/http/disk_cache_based_ssl_host_info.h (revision 97879)
+++ net/http/disk_cache_based_ssl_host_info.h (working copy)
@@ -23,8 +23,9 @@
// DiskCacheBasedSSLHostInfo fetches information about an SSL host from our
// standard disk cache. Since the information is defined to be non-sensitive,
// it's ok for us to keep it on disk.
-class DiskCacheBasedSSLHostInfo : public SSLHostInfo,
- public base::NonThreadSafe {
+class NET_EXPORT_PRIVATE DiskCacheBasedSSLHostInfo
+ : public SSLHostInfo,
rvargas (doing something else) 2011/08/23 18:20:48 SSLHostInfo also has to be exported.
+ public NON_EXPORTED_BASE(base::NonThreadSafe) {
public:
DiskCacheBasedSSLHostInfo(const std::string& hostname,
const SSLConfig& ssl_config,
@@ -79,8 +80,10 @@
std::string key() const;
- void DoLoop(int rv);
+ void OnIOComplete(int rv);
+ int DoLoop(int rv);
+
int DoGetBackendComplete(int rv);
int DoOpenComplete(int rv);
int DoReadComplete(int rv);
@@ -112,8 +115,8 @@
disk_cache::Backend* backend_;
disk_cache::Entry* entry_;
CompletionCallback* user_callback_;
- scoped_refptr<net::IOBuffer> read_buffer_;
- scoped_refptr<net::IOBuffer> write_buffer_;
+ 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