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

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

Issue 456953002: Also declare the transport_security_state_ member as const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698