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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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_test.cc ('k') | net/quic/crypto/quic_crypto_client_config_test.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 12 matching lines...) Expand all
23 class CertVerifier; 23 class CertVerifier;
24 class TransportSecurityState; 24 class TransportSecurityState;
25 25
26 // ProofVerifyDetailsChromium is the implementation-specific information that a 26 // ProofVerifyDetailsChromium is the implementation-specific information that a
27 // ProofVerifierChromium returns about a certificate verification. 27 // ProofVerifierChromium returns about a certificate verification.
28 class NET_EXPORT_PRIVATE ProofVerifyDetailsChromium 28 class NET_EXPORT_PRIVATE ProofVerifyDetailsChromium
29 : public ProofVerifyDetails { 29 : public ProofVerifyDetails {
30 public: 30 public:
31 31
32 // ProofVerifyDetails implementation 32 // ProofVerifyDetails implementation
33 virtual ProofVerifyDetails* Clone() const OVERRIDE; 33 virtual ProofVerifyDetails* Clone() const override;
34 34
35 CertVerifyResult cert_verify_result; 35 CertVerifyResult cert_verify_result;
36 36
37 // pinning_failure_log contains a message produced by 37 // pinning_failure_log contains a message produced by
38 // TransportSecurityState::DomainState::CheckPublicKeyPins in the event of a 38 // TransportSecurityState::DomainState::CheckPublicKeyPins in the event of a
39 // pinning failure. It is a (somewhat) human-readable string. 39 // pinning failure. It is a (somewhat) human-readable string.
40 std::string pinning_failure_log; 40 std::string pinning_failure_log;
41 }; 41 };
42 42
43 // ProofVerifyContextChromium is the implementation-specific information that a 43 // ProofVerifyContextChromium is the implementation-specific information that a
(...skipping 16 matching lines...) Expand all
60 60
61 // ProofVerifier interface 61 // ProofVerifier interface
62 virtual QuicAsyncStatus VerifyProof( 62 virtual QuicAsyncStatus VerifyProof(
63 const std::string& hostname, 63 const std::string& hostname,
64 const std::string& server_config, 64 const std::string& server_config,
65 const std::vector<std::string>& certs, 65 const std::vector<std::string>& certs,
66 const std::string& signature, 66 const std::string& signature,
67 const ProofVerifyContext* verify_context, 67 const ProofVerifyContext* verify_context,
68 std::string* error_details, 68 std::string* error_details,
69 scoped_ptr<ProofVerifyDetails>* verify_details, 69 scoped_ptr<ProofVerifyDetails>* verify_details,
70 ProofVerifierCallback* callback) OVERRIDE; 70 ProofVerifierCallback* callback) override;
71 71
72 private: 72 private:
73 class Job; 73 class Job;
74 typedef std::set<Job*> JobSet; 74 typedef std::set<Job*> JobSet;
75 75
76 void OnJobComplete(Job* job); 76 void OnJobComplete(Job* job);
77 77
78 // Set owning pointers to active jobs. 78 // Set owning pointers to active jobs.
79 JobSet active_jobs_; 79 JobSet active_jobs_;
80 80
81 // Underlying verifier used to verify certificates. 81 // Underlying verifier used to verify certificates.
82 CertVerifier* const cert_verifier_; 82 CertVerifier* const cert_verifier_;
83 83
84 TransportSecurityState* const transport_security_state_; 84 TransportSecurityState* const transport_security_state_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium); 86 DISALLOW_COPY_AND_ASSIGN(ProofVerifierChromium);
87 }; 87 };
88 88
89 } // namespace net 89 } // namespace net
90 90
91 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ 91 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/proof_test.cc ('k') | net/quic/crypto/quic_crypto_client_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698