OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_H_ | 5 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_H_ |
6 #define NET_HTTP_TRANSPORT_SECURITY_STATE_H_ | 6 #define NET_HTTP_TRANSPORT_SECURITY_STATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
18 #include "net/cert/x509_cert_types.h" | 18 #include "net/cert/x509_cert_types.h" |
19 #include "net/cert/x509_certificate.h" | 19 #include "net/cert/x509_certificate.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 class SSLInfo; | 23 class SSLInfo; |
24 | 24 |
25 // Tracks which hosts have enabled strict transport security and/or public | 25 // Tracks which hosts have enabled strict transport security and/or public |
26 // key pins. | 26 // key pins. |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 DomainStateMap enabled_hosts_; | 302 DomainStateMap enabled_hosts_; |
303 | 303 |
304 Delegate* delegate_; | 304 Delegate* delegate_; |
305 | 305 |
306 DISALLOW_COPY_AND_ASSIGN(TransportSecurityState); | 306 DISALLOW_COPY_AND_ASSIGN(TransportSecurityState); |
307 }; | 307 }; |
308 | 308 |
309 } // namespace net | 309 } // namespace net |
310 | 310 |
311 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_H_ | 311 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_H_ |
OLD | NEW |