OLD | NEW |
---|---|
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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_; |
wtc
2014/08/08 21:59:17
I noticed that the cert_verifier_ member is const,
Ryan Hamilton
2014/08/08 22:08:22
This means that the pointer never changes, but the
wtc
2014/08/13 18:37:35
That's correct.
| |
83 | 83 |
84 TransportSecurityState* 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_ |
OLD | NEW |