summaryrefslogtreecommitdiffstats
path: root/net/base/transport_security_state.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 18:54:32 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 18:54:32 +0000
commit02896a8fd669ced03e8a76edfbb423c858eafc53 (patch)
treec75f30c0004063e6e0c9db8109638131c099f7fe /net/base/transport_security_state.h
parent111efaf9b1799bcf2326703c2d26bd60f799ab2f (diff)
downloadchromium_src-02896a8fd669ced03e8a76edfbb423c858eafc53.zip
chromium_src-02896a8fd669ced03e8a76edfbb423c858eafc53.tar.gz
chromium_src-02896a8fd669ced03e8a76edfbb423c858eafc53.tar.bz2
Move TransportSecurityPersister completely to IO thread.
This should fix problems caused by calling ImportantFileWriter on wrong threads. BUG=none Review URL: http://codereview.chromium.org/7966005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/transport_security_state.h')
-rw-r--r--net/base/transport_security_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/transport_security_state.h b/net/base/transport_security_state.h
index 73d7bde..d5d2e4d 100644
--- a/net/base/transport_security_state.h
+++ b/net/base/transport_security_state.h
@@ -24,6 +24,9 @@ namespace net {
// Tracks which hosts have enabled *-Transport-Security. This object manages
// the in-memory store. A separate object must register itself with this object
// in order to persist the state to disk.
+//
+// TODO(phajdan.jr): Convert this to non-thread-safe non-ref-counted
+// for simplicity.
class NET_EXPORT TransportSecurityState :
public base::RefCountedThreadSafe<TransportSecurityState> {
public: