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

Unified Diff: net/base/ssl_config_service.h

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/base/ssl_config_service.h
===================================================================
--- net/base/ssl_config_service.h (revision 31079)
+++ net/base/ssl_config_service.h (working copy)
@@ -66,8 +66,6 @@
// live longer than the configuration preferences.
class SSLConfigService : public base::RefCountedThreadSafe<SSLConfigService> {
public:
- virtual ~SSLConfigService() {}
-
// Create an instance of SSLConfigService which retrieves the configuration
// from the system SSL configuration, or an instance of
// SSLConfigServiceDefaults if the current system does not have a system SSL
@@ -77,6 +75,11 @@
// May not be thread-safe, should only be called on the IO thread.
virtual void GetSSLConfig(SSLConfig* config) = 0;
+
+ protected:
+ friend class base::RefCountedThreadSafe<SSLConfigService>;
+
+ virtual ~SSLConfigService() {}
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698