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

Unified Diff: net/ocsp/nss_ocsp.cc

Issue 368001: Second patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
Index: net/ocsp/nss_ocsp.cc
===================================================================
--- net/ocsp/nss_ocsp.cc (revision 31079)
+++ net/ocsp/nss_ocsp.cc (working copy)
@@ -221,6 +221,12 @@
}
private:
+ friend class base::RefCountedThreadSafe<OCSPRequestSession>;
+
+ virtual ~OCSPRequestSession() {
+ DCHECK(!request_);
+ }
+
void StartURLRequest() {
DCHECK(MessageLoopForIO::current() == io_loop_);
DCHECK(!request_);

Powered by Google App Engine
This is Rietveld 408576698