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

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

Issue 2126803004: WIP: NSS trust store integration for path builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert-command-line-path-builder-add_certpathbuilder
Patch Set: . Created 4 years, 4 months 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/BUILD.gn ('k') | net/cert/internal/cert_issuer_source_aia.h » ('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_H_ 5 #ifndef NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_
6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_ 6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // If an async callback will be made |*out_req| is filled with a Request 64 // If an async callback will be made |*out_req| is filled with a Request
65 // object which may be destroyed to cancel the callback. If the implementation 65 // object which may be destroyed to cancel the callback. If the implementation
66 // does not support asynchronous lookups or can determine synchronously that 66 // does not support asynchronous lookups or can determine synchronously that
67 // it would return no results, |*out_req| will be set to nullptr. 67 // it would return no results, |*out_req| will be set to nullptr.
68 // 68 //
69 // When matches are available or the request is complete, |issuers_callback| 69 // When matches are available or the request is complete, |issuers_callback|
70 // will be called with a pointer to the same Request. The Request::GetNext 70 // will be called with a pointer to the same Request. The Request::GetNext
71 // method may then be used to iterate through the retrieved issuers. Note that 71 // method may then be used to iterate through the retrieved issuers. Note that
72 // |issuers_callback| may be called multiple times. See the documentation for 72 // |issuers_callback| may be called multiple times. See the documentation for
73 // Request::GetNext for more details. 73 // Request::GetNext for more details.
74 virtual void AsyncGetIssuersOf(const ParsedCertificate* cert, 74 virtual void AsyncGetIssuersOf(scoped_refptr<ParsedCertificate> cert,
75 const IssuerCallback& issuers_callback, 75 const IssuerCallback& issuers_callback,
76 std::unique_ptr<Request>* out_req) = 0; 76 std::unique_ptr<Request>* out_req) = 0;
77 }; 77 };
78 78
79 } // namespace net 79 } // namespace net
80 80
81 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_ 81 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/internal/cert_issuer_source_aia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698