summaryrefslogtreecommitdiffstats
path: root/chrome/browser/strict_transport_security_persister.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/strict_transport_security_persister.h')
-rw-r--r--chrome/browser/strict_transport_security_persister.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/strict_transport_security_persister.h b/chrome/browser/strict_transport_security_persister.h
index 5accc9e..9b6c9ca 100644
--- a/chrome/browser/strict_transport_security_persister.h
+++ b/chrome/browser/strict_transport_security_persister.h
@@ -43,12 +43,14 @@ class StrictTransportSecurityPersister :
StrictTransportSecurityPersister(net::StrictTransportSecurityState* state,
const FilePath& profile_path);
- ~StrictTransportSecurityPersister();
-
// Called by the StrictTransportSecurityState when it changes its state.
virtual void StateIsDirty(net::StrictTransportSecurityState*);
private:
+ friend class base::RefCountedThreadSafe<StrictTransportSecurityPersister>;
+
+ ~StrictTransportSecurityPersister();
+
// a Task callback for when the state needs to be written out.
void SerialiseState();