OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_QUIC_CRYPTO_CLIENT_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ |
6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ | 6 #define NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "net/quic/crypto/channel_id.h" | 10 #include "net/quic/crypto/channel_id.h" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // asynchronous proof verification. The ProofVerifier owns this object. | 202 // asynchronous proof verification. The ProofVerifier owns this object. |
203 ProofVerifierCallbackImpl* proof_verify_callback_; | 203 ProofVerifierCallbackImpl* proof_verify_callback_; |
204 | 204 |
205 // These members are used to store the result of an asynchronous proof | 205 // These members are used to store the result of an asynchronous proof |
206 // verification. These members must not be used after | 206 // verification. These members must not be used after |
207 // STATE_VERIFY_PROOF_COMPLETE. | 207 // STATE_VERIFY_PROOF_COMPLETE. |
208 bool verify_ok_; | 208 bool verify_ok_; |
209 std::string verify_error_details_; | 209 std::string verify_error_details_; |
210 scoped_ptr<ProofVerifyDetails> verify_details_; | 210 scoped_ptr<ProofVerifyDetails> verify_details_; |
211 | 211 |
| 212 // True if the server responded to a previous CHLO with a stateless |
| 213 // reject. Used for book-keeping between the STATE_RECV_REJ, |
| 214 // STATE_VERIFY_PROOF*, and subsequent STATE_SEND_CHLO state. |
| 215 bool stateless_reject_received_; |
| 216 |
212 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); | 217 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); |
213 }; | 218 }; |
214 | 219 |
215 } // namespace net | 220 } // namespace net |
216 | 221 |
217 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ | 222 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ |
OLD | NEW |