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

Unified Diff: net/base/strict_transport_security_state.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/strict_transport_security_state.h
===================================================================
--- net/base/strict_transport_security_state.h (revision 31079)
+++ net/base/strict_transport_security_state.h (working copy)
@@ -66,6 +66,10 @@
bool Deserialise(const std::string& state);
private:
+ friend class base::RefCountedThreadSafe<StrictTransportSecurityState>;
+
+ ~StrictTransportSecurityState() {}
+
// If we have a callback configured, call it to let our serialiser know that
// our state is dirty.
void DirtyNotify();

Powered by Google App Engine
This is Rietveld 408576698