Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_NSS_H_ | |
| 6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_NSS_H_ | |
| 7 | |
| 8 #include "net/base/net_export.h" | |
| 9 #include "net/cert/internal/cert_issuer_source.h" | |
| 10 | |
| 11 namespace net { | |
| 12 | |
| 13 // Returns issuers from NSS. Always returns results syncronously. | |
|
eroman
2016/11/29 20:18:27
spelling: synchronously
Can you also add a littl
mattm
2016/11/30 03:07:19
Done.
| |
| 14 class NET_EXPORT CertIssuerSourceNSS : public CertIssuerSource { | |
| 15 public: | |
| 16 CertIssuerSourceNSS(); | |
| 17 ~CertIssuerSourceNSS() override; | |
| 18 | |
| 19 // CertIssuerSource implementation: | |
| 20 void SyncGetIssuersOf(const ParsedCertificate* cert, | |
| 21 ParsedCertificateList* issuers) override; | |
| 22 void AsyncGetIssuersOf(const ParsedCertificate* cert, | |
|
eroman
2016/11/29 20:18:27
Side-note, and thinking out loud here (not related
mattm
2016/11/30 03:07:19
Possibly, if we find there aren't any other use ca
| |
| 23 std::unique_ptr<Request>* out_req) override; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceNSS); | |
| 27 }; | |
| 28 | |
| 29 } // namespace net | |
| 30 | |
| 31 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_NSS_H_ | |
| OLD | NEW |