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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" |
16 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
18 #include "net/base/expiring_cache.h" | 19 #include "net/base/expiring_cache.h" |
19 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
20 #include "net/cert/x509_cert_types.h" | 21 #include "net/cert/x509_cert_types.h" |
21 #include "net/cert/x509_certificate.h" | 22 #include "net/cert/x509_certificate.h" |
22 #include "url/gurl.h" | 23 #include "url/gurl.h" |
23 | 24 |
24 class GURL; | 25 class GURL; |
25 | 26 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 // rate-limiting. | 429 // rate-limiting. |
429 ExpiringCache<std::string, bool, base::TimeTicks, std::less<base::TimeTicks>> | 430 ExpiringCache<std::string, bool, base::TimeTicks, std::less<base::TimeTicks>> |
430 sent_reports_cache_; | 431 sent_reports_cache_; |
431 | 432 |
432 DISALLOW_COPY_AND_ASSIGN(TransportSecurityState); | 433 DISALLOW_COPY_AND_ASSIGN(TransportSecurityState); |
433 }; | 434 }; |
434 | 435 |
435 } // namespace net | 436 } // namespace net |
436 | 437 |
437 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_H_ | 438 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_H_ |
OLD | NEW |