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_CERT_CERT_VERIFY_PROC_H_ | 5 #ifndef NET_CERT_CERT_VERIFY_PROC_H_ |
6 #define NET_CERT_CERT_VERIFY_PROC_H_ | 6 #define NET_CERT_CERT_VERIFY_PROC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
14 #include "net/cert/x509_cert_types.h" | 15 #include "net/cert/x509_cert_types.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
18 class CertVerifyResult; | 19 class CertVerifyResult; |
19 class CRLSet; | 20 class CRLSet; |
20 class X509Certificate; | 21 class X509Certificate; |
21 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; | 22 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // requirement they expire within 7 years after the effective date of the BRs | 123 // requirement they expire within 7 years after the effective date of the BRs |
123 // (i.e. by 1 July 2019). | 124 // (i.e. by 1 July 2019). |
124 static bool HasTooLongValidity(const X509Certificate& cert); | 125 static bool HasTooLongValidity(const X509Certificate& cert); |
125 | 126 |
126 DISALLOW_COPY_AND_ASSIGN(CertVerifyProc); | 127 DISALLOW_COPY_AND_ASSIGN(CertVerifyProc); |
127 }; | 128 }; |
128 | 129 |
129 } // namespace net | 130 } // namespace net |
130 | 131 |
131 #endif // NET_CERT_CERT_VERIFY_PROC_H_ | 132 #endif // NET_CERT_CERT_VERIFY_PROC_H_ |
OLD | NEW |