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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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
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 28 matching lines...) Expand all
39 // When the verifier is destroyed, all certificate verifications requests are 39 // When the verifier is destroyed, all certificate verifications requests are
40 // canceled, and their completion callbacks will not be called. 40 // canceled, and their completion callbacks will not be called.
41 ~MultiThreadedCertVerifier() override; 41 ~MultiThreadedCertVerifier() override;
42 42
43 // CertVerifier implementation 43 // CertVerifier implementation
44 int Verify(const RequestParams& params, 44 int Verify(const RequestParams& params,
45 CRLSet* crl_set, 45 CRLSet* crl_set,
46 CertVerifyResult* verify_result, 46 CertVerifyResult* verify_result,
47 const CompletionCallback& callback, 47 const CompletionCallback& callback,
48 std::unique_ptr<Request>* out_req, 48 std::unique_ptr<Request>* out_req,
49 const BoundNetLog& net_log) override; 49 const NetLogWithSource& net_log) override;
50 50
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);
(...skipping 25 matching lines...) Expand all
85 uint64_t inflight_joins_; 85 uint64_t inflight_joins_;
86 86
87 scoped_refptr<CertVerifyProc> verify_proc_; 87 scoped_refptr<CertVerifyProc> verify_proc_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier); 89 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier);
90 }; 90 };
91 91
92 } // namespace net 92 } // namespace net
93 93
94 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 94 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698