summaryrefslogtreecommitdiffstats
path: root/chrome/browser/strict_transport_security_persister.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-07 01:56:19 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-07 01:56:19 +0000
commite6e6ba4925feed48fbbd0568b07d8ccb6569eeee (patch)
treefc2fc1bc4d4a56fb413709a977b6ba42ab27af46 /chrome/browser/strict_transport_security_persister.h
parentdaefca3e87d6d36f0e6a58e3b0ff60917f285acb (diff)
downloadchromium_src-e6e6ba4925feed48fbbd0568b07d8ccb6569eeee.zip
chromium_src-e6e6ba4925feed48fbbd0568b07d8ccb6569eeee.tar.gz
chromium_src-e6e6ba4925feed48fbbd0568b07d8ccb6569eeee.tar.bz2
Ninth patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/372013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31357 0039d316-1c4b-4281-b951-d872f2087c98
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();