OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ | 5 #ifndef NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ |
6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ | 6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ |
7 | 7 |
8 #include "base/strings/string_piece.h" | 8 #include "base/strings/string_piece.h" |
| 9 #include "net/base/net_export.h" |
9 #include "net/cert/internal/cert_issuer_source.h" | 10 #include "net/cert/internal/cert_issuer_source.h" |
10 | 11 |
11 namespace net { | 12 namespace net { |
12 | 13 |
13 class CertNetFetcher; | 14 class CertNetFetcher; |
14 | 15 |
15 class NET_EXPORT CertIssuerSourceAia : public CertIssuerSource { | 16 class NET_EXPORT CertIssuerSourceAia : public CertIssuerSource { |
16 public: | 17 public: |
17 // Creates CertIssuerSource that will use |cert_fetcher| to retrieve issuers | 18 // Creates CertIssuerSource that will use |cert_fetcher| to retrieve issuers |
18 // using AuthorityInfoAccess URIs. |cert_fetcher| must outlive the | 19 // using AuthorityInfoAccess URIs. |cert_fetcher| must outlive the |
(...skipping 11 matching lines...) Expand all Loading... |
30 | 31 |
31 private: | 32 private: |
32 CertNetFetcher* cert_fetcher_; | 33 CertNetFetcher* cert_fetcher_; |
33 | 34 |
34 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceAia); | 35 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceAia); |
35 }; | 36 }; |
36 | 37 |
37 } // namespace net | 38 } // namespace net |
38 | 39 |
39 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ | 40 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ |
OLD | NEW |