summaryrefslogtreecommitdiffstats
path: root/chrome/browser/strict_transport_security_persister.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 19:56:17 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 19:56:17 +0000
commit11f48572859aca238afeb436d2504c5ffab49f07 (patch)
tree1b31af349eb99a9e83716f5add3273b42bee41cf /chrome/browser/strict_transport_security_persister.h
parentaf530ac147feb1b04446f529daa4cc4448f89b23 (diff)
downloadchromium_src-11f48572859aca238afeb436d2504c5ffab49f07.zip
chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.gz
chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.bz2
Fixes almost all of the rest of lint errors in the chrome/ directory (minus the really hard ones which will need actual review instead of rubber-stamping.)
Review URL: http://codereview.chromium.org/386026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/strict_transport_security_persister.h')
-rw-r--r--chrome/browser/strict_transport_security_persister.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/strict_transport_security_persister.h b/chrome/browser/strict_transport_security_persister.h
index 9b6c9ca..321bbe1 100644
--- a/chrome/browser/strict_transport_security_persister.h
+++ b/chrome/browser/strict_transport_security_persister.h
@@ -30,15 +30,17 @@
// copies the current state of the StrictTransportSecurityState, serialises
// and writes to disk.
+#ifndef CHROME_BROWSER_STRICT_TRANSPORT_SECURITY_PERSISTER_H_
+#define CHROME_BROWSER_STRICT_TRANSPORT_SECURITY_PERSISTER_H_
+
#include "base/file_path.h"
#include "base/lock.h"
#include "base/ref_counted.h"
#include "net/base/strict_transport_security_state.h"
-
-class StrictTransportSecurityPersister :
- public base::RefCountedThreadSafe<StrictTransportSecurityPersister>,
- public net::StrictTransportSecurityState::Delegate {
+class StrictTransportSecurityPersister
+ : public base::RefCountedThreadSafe<StrictTransportSecurityPersister>,
+ public net::StrictTransportSecurityState::Delegate {
public:
StrictTransportSecurityPersister(net::StrictTransportSecurityState* state,
const FilePath& profile_path);
@@ -68,3 +70,5 @@ class StrictTransportSecurityPersister :
// The path to the file in which we store the serialised state.
const FilePath state_file_;
};
+
+#endif // CHROME_BROWSER_STRICT_TRANSPORT_SECURITY_PERSISTER_H_