Index: net/base/cert_verifier.cc |
=================================================================== |
--- net/base/cert_verifier.cc (revision 31079) |
+++ net/base/cert_verifier.cc (working copy) |
@@ -35,8 +35,6 @@ |
error_(OK) { |
} |
- ~Request() {} |
- |
void DoVerify() { |
// Running on the worker thread |
error_ = cert_->Verify(hostname_, flags_, &result_); |
@@ -92,6 +90,10 @@ |
} |
private: |
+ friend class base::RefCountedThreadSafe<CertVerifier::Request>; |
+ |
+ ~Request() {} |
+ |
// Set on the origin thread, read on the worker thread. |
scoped_refptr<X509Certificate> cert_; |
std::string hostname_; |