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

Side by Side Diff: net/quic/crypto/proof_verifier_chromium.h

Issue 1780983002: Provide valid port on HPKP reports for QUIC connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct ordering of arguments in test Created 4 years, 9 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/quic/crypto/proof_verifier.h ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('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 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_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 5 #ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier { 59 class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier {
60 public: 60 public:
61 ProofVerifierChromium(CertVerifier* cert_verifier, 61 ProofVerifierChromium(CertVerifier* cert_verifier,
62 CTPolicyEnforcer* ct_policy_enforcer, 62 CTPolicyEnforcer* ct_policy_enforcer,
63 TransportSecurityState* transport_security_state, 63 TransportSecurityState* transport_security_state,
64 CTVerifier* cert_transparency_verifier); 64 CTVerifier* cert_transparency_verifier);
65 ~ProofVerifierChromium() override; 65 ~ProofVerifierChromium() override;
66 66
67 // ProofVerifier interface 67 // ProofVerifier interface
68 QuicAsyncStatus VerifyProof(const std::string& hostname, 68 QuicAsyncStatus VerifyProof(const std::string& hostname,
69 const uint16_t port,
69 const std::string& server_config, 70 const std::string& server_config,
70 QuicVersion quic_version, 71 QuicVersion quic_version,
71 base::StringPiece chlo_hash, 72 base::StringPiece chlo_hash,
72 const std::vector<std::string>& certs, 73 const std::vector<std::string>& certs,
73 const std::string& cert_sct, 74 const std::string& cert_sct,
74 const std::string& signature, 75 const std::string& signature,
75 const ProofVerifyContext* verify_context, 76 const ProofVerifyContext* verify_context,
76 std::string* error_details, 77 std::string* error_details,
77 scoped_ptr<ProofVerifyDetails>* verify_details, 78 scoped_ptr<ProofVerifyDetails>* verify_details,
78 ProofVerifierCallback* callback) override; 79 ProofVerifierCallback* callback) override;
(...skipping 13 matching lines...) Expand all
92 93
93 TransportSecurityState* const transport_security_state_; 94 TransportSecurityState* const transport_security_state_;
94 CTVerifier* const cert_transparency_verifier_; 95 CTVerifier* const cert_transparency_verifier_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium); 97 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium);
97 }; 98 };
98 99
99 } // namespace net 100 } // namespace net
100 101
101 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 102 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/proof_verifier.h ('k') | net/quic/crypto/proof_verifier_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698