Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: net/cert/internal/cert_issuer_source_aia.h

Issue 2453093004: Remove dependence on a message loop for net::PathBuilder. (Closed)
Patch Set: remove unnecessary forward decl Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/cert/internal/cert_issuer_source.h ('k') | net/cert/internal/cert_issuer_source_aia.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/base/net_export.h"
10 #include "net/cert/internal/cert_issuer_source.h" 10 #include "net/cert/internal/cert_issuer_source.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 class CertNetFetcher; 14 class CertNetFetcher;
15 15
16 class NET_EXPORT CertIssuerSourceAia : public CertIssuerSource { 16 class NET_EXPORT CertIssuerSourceAia : public CertIssuerSource {
17 public: 17 public:
18 // Creates CertIssuerSource that will use |cert_fetcher| to retrieve issuers 18 // Creates CertIssuerSource that will use |cert_fetcher| to retrieve issuers
19 // using AuthorityInfoAccess URIs. |cert_fetcher| must outlive the 19 // using AuthorityInfoAccess URIs. |cert_fetcher| must outlive the
20 // CertIssuerSourceAia. CertIssuerSourceAia must be created and used only on 20 // CertIssuerSourceAia. CertIssuerSourceAia must be created and used only on
21 // a single thread, which is the thread |cert_fetcher| will be operated from. 21 // a single thread, which is the thread |cert_fetcher| will be operated from.
22 explicit CertIssuerSourceAia(CertNetFetcher* cert_fetcher); 22 explicit CertIssuerSourceAia(CertNetFetcher* cert_fetcher);
23 ~CertIssuerSourceAia() override; 23 ~CertIssuerSourceAia() override;
24 24
25 // CertIssuerSource implementation: 25 // CertIssuerSource implementation:
26 void SyncGetIssuersOf(const ParsedCertificate* cert, 26 void SyncGetIssuersOf(const ParsedCertificate* cert,
27 ParsedCertificateList* issuers) override; 27 ParsedCertificateList* issuers) override;
28 void AsyncGetIssuersOf(const ParsedCertificate* cert, 28 void AsyncGetIssuersOf(const ParsedCertificate* cert,
29 const IssuerCallback& issuers_callback,
30 std::unique_ptr<Request>* out_req) override; 29 std::unique_ptr<Request>* out_req) override;
31 30
32 private: 31 private:
33 CertNetFetcher* cert_fetcher_; 32 CertNetFetcher* cert_fetcher_;
34 33
35 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceAia); 34 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceAia);
36 }; 35 };
37 36
38 } // namespace net 37 } // namespace net
39 38
40 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_ 39 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_
OLDNEW
« no previous file with comments | « net/cert/internal/cert_issuer_source.h ('k') | net/cert/internal/cert_issuer_source_aia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698