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

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

Issue 126283002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed extra space Created 6 years, 11 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 | Annotate | Revision Log
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 18 matching lines...) Expand all
29 public: 29 public:
30 CertVerifyResult cert_verify_result; 30 CertVerifyResult cert_verify_result;
31 }; 31 };
32 32
33 // ProofVerifierChromium implements the QUIC ProofVerifier interface. 33 // ProofVerifierChromium implements the QUIC ProofVerifier interface.
34 // TODO(rtenneti): Add support for multiple requests for one ProofVerifier. 34 // TODO(rtenneti): Add support for multiple requests for one ProofVerifier.
35 class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier { 35 class NET_EXPORT_PRIVATE ProofVerifierChromium : public ProofVerifier {
36 public: 36 public:
37 ProofVerifierChromium(CertVerifier* cert_verifier, 37 ProofVerifierChromium(CertVerifier* cert_verifier,
38 const BoundNetLog& net_log); 38 const BoundNetLog& net_log);
39 virtual ~ProofVerifierChromium(); 39 virtual ~ProofVerifierChromium() OVERRIDE;
40 40
41 // ProofVerifier interface 41 // ProofVerifier interface
42 virtual Status VerifyProof(const std::string& hostname, 42 virtual Status VerifyProof(const std::string& hostname,
43 const std::string& server_config, 43 const std::string& server_config,
44 const std::vector<std::string>& certs, 44 const std::vector<std::string>& certs,
45 const std::string& signature, 45 const std::string& signature,
46 std::string* error_details, 46 std::string* error_details,
47 scoped_ptr<ProofVerifyDetails>* details, 47 scoped_ptr<ProofVerifyDetails>* details,
48 ProofVerifierCallback* callback) OVERRIDE; 48 ProofVerifierCallback* callback) OVERRIDE;
49 49
(...skipping 30 matching lines...) Expand all
80 State next_state_; 80 State next_state_;
81 81
82 BoundNetLog net_log_; 82 BoundNetLog net_log_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium); 84 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium);
85 }; 85 };
86 86
87 } // namespace net 87 } // namespace net
88 88
89 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 89 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/proof_source_chromium.h ('k') | net/quic/crypto/quic_crypto_server_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698