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_BASE_CERT_TEST_UTIL_H_ | 5 #ifndef NET_TEST_CERT_TEST_UTIL_H_ |
6 #define NET_BASE_CERT_TEST_UTIL_H_ | 6 #define NET_TEST_CERT_TEST_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "net/base/x509_cert_types.h" | 11 #include "net/cert/x509_cert_types.h" |
12 #include "net/base/x509_certificate.h" | 12 #include "net/cert/x509_certificate.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class FilePath; | 15 class FilePath; |
16 } | 16 } |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 class EVRootCAMetadata; | 20 class EVRootCAMetadata; |
21 | 21 |
22 CertificateList CreateCertificateListFromFile(const base::FilePath& certs_dir, | 22 CertificateList CreateCertificateListFromFile(const base::FilePath& certs_dir, |
(...skipping 20 matching lines...) Expand all Loading... |
43 const char* policy); | 43 const char* policy); |
44 ~ScopedTestEVPolicy(); | 44 ~ScopedTestEVPolicy(); |
45 | 45 |
46 private: | 46 private: |
47 SHA1HashValue fingerprint_; | 47 SHA1HashValue fingerprint_; |
48 EVRootCAMetadata* const ev_root_ca_metadata_; | 48 EVRootCAMetadata* const ev_root_ca_metadata_; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace net | 51 } // namespace net |
52 | 52 |
53 #endif // NET_BASE_CERT_TEST_UTIL_H_ | 53 #endif // NET_TEST_CERT_TEST_UTIL_H_ |
OLD | NEW |