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

Side by Side Diff: net/cert/multi_threaded_cert_verifier.h

Issue 2070223002: Remove CertTrustAnchorProvider from net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Namespace Created 4 years, 6 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/cert/cert_trust_anchor_provider.h ('k') | net/net.gypi » ('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 (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_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 5 #ifndef NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 bool SupportsOCSPStapling() override; 51 bool SupportsOCSPStapling() override;
52 52
53 private: 53 private:
54 struct JobToRequestParamsComparator; 54 struct JobToRequestParamsComparator;
55 friend class CertVerifierRequest; 55 friend class CertVerifierRequest;
56 friend class CertVerifierJob; 56 friend class CertVerifierJob;
57 friend class MultiThreadedCertVerifierTest; 57 friend class MultiThreadedCertVerifierTest;
58 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest, InflightJoin); 58 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest, InflightJoin);
59 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest, MultipleInflightJoin); 59 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest, MultipleInflightJoin);
60 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest, CancelRequest); 60 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest, CancelRequest);
61 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest,
62 RequestParamsComparators);
63 FRIEND_TEST_ALL_PREFIXES(MultiThreadedCertVerifierTest,
64 CertTrustAnchorProvider);
65 61
66 struct JobComparator { 62 struct JobComparator {
67 bool operator()(const CertVerifierJob* job1, 63 bool operator()(const CertVerifierJob* job1,
68 const CertVerifierJob* job2) const; 64 const CertVerifierJob* job2) const;
69 }; 65 };
70 66
71 using JobSet = std::set<CertVerifierJob*, JobComparator>; 67 using JobSet = std::set<CertVerifierJob*, JobComparator>;
72 68
73 // Returns an inflight job for |key|. If there is no such job then returns 69 // Returns an inflight job for |key|. If there is no such job then returns
74 // null. 70 // null.
(...skipping 14 matching lines...) Expand all
89 uint64_t inflight_joins_; 85 uint64_t inflight_joins_;
90 86
91 scoped_refptr<CertVerifyProc> verify_proc_; 87 scoped_refptr<CertVerifyProc> verify_proc_;
92 88
93 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier); 89 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier);
94 }; 90 };
95 91
96 } // namespace net 92 } // namespace net
97 93
98 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 94 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
OLDNEW
« no previous file with comments | « net/cert/cert_trust_anchor_provider.h ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698