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

Side by Side Diff: net/cert/multi_log_ct_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LOG_CT_VERIFIER_H_ 5 #ifndef NET_CERT_MULTI_LOG_CT_VERIFIER_H_
6 #define NET_CERT_MULTI_LOG_CT_VERIFIER_H_ 6 #define NET_CERT_MULTI_LOG_CT_VERIFIER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 20 matching lines...) Expand all
31 ~MultiLogCTVerifier() override; 31 ~MultiLogCTVerifier() override;
32 32
33 void AddLogs( 33 void AddLogs(
34 const std::vector<scoped_refptr<const CTLogVerifier>>& log_verifiers); 34 const std::vector<scoped_refptr<const CTLogVerifier>>& log_verifiers);
35 35
36 // CTVerifier implementation: 36 // CTVerifier implementation:
37 int Verify(X509Certificate* cert, 37 int Verify(X509Certificate* cert,
38 const std::string& stapled_ocsp_response, 38 const std::string& stapled_ocsp_response,
39 const std::string& sct_list_from_tls_extension, 39 const std::string& sct_list_from_tls_extension,
40 ct::CTVerifyResult* result, 40 ct::CTVerifyResult* result,
41 const BoundNetLog& net_log) override; 41 const NetLogWithSource& net_log) override;
42 42
43 void SetObserver(Observer* observer) override; 43 void SetObserver(Observer* observer) override;
44 44
45 private: 45 private:
46 // Verify a list of SCTs from |encoded_sct_list| over |expected_entry|, 46 // Verify a list of SCTs from |encoded_sct_list| over |expected_entry|,
47 // placing the verification results in |result|. The SCTs in the list 47 // placing the verification results in |result|. The SCTs in the list
48 // come from |origin| (as will be indicated in the origin field of each SCT). 48 // come from |origin| (as will be indicated in the origin field of each SCT).
49 bool VerifySCTs(const std::string& encoded_sct_list, 49 bool VerifySCTs(const std::string& encoded_sct_list,
50 const ct::LogEntry& expected_entry, 50 const ct::LogEntry& expected_entry,
51 ct::SignedCertificateTimestamp::Origin origin, 51 ct::SignedCertificateTimestamp::Origin origin,
(...skipping 12 matching lines...) Expand all
64 std::map<std::string, scoped_refptr<const CTLogVerifier>> logs_; 64 std::map<std::string, scoped_refptr<const CTLogVerifier>> logs_;
65 65
66 Observer* observer_; 66 Observer* observer_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(MultiLogCTVerifier); 68 DISALLOW_COPY_AND_ASSIGN(MultiLogCTVerifier);
69 }; 69 };
70 70
71 } // namespace net 71 } // namespace net
72 72
73 #endif // NET_CERT_MULTI_LOG_CT_VERIFIER_H_ 73 #endif // NET_CERT_MULTI_LOG_CT_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698