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

Side by Side Diff: net/quic/quic_crypto_server_stream.h

Issue 1983183002: Landing Recent QUIC changes until 5/14/2016 02:25:25 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "first try to fix link error for win_clang build" Created 4 years, 7 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/quic_connection_test.cc ('k') | net/quic/quic_crypto_server_stream.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 (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_SERVER_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 const QuicCryptoServerConfig* crypto_config_; 169 const QuicCryptoServerConfig* crypto_config_;
170 170
171 // compressed_certs_cache_ contains a set of most recently compressed certs. 171 // compressed_certs_cache_ contains a set of most recently compressed certs.
172 // Owned by QuicDispatcher. 172 // Owned by QuicDispatcher.
173 QuicCompressedCertsCache* compressed_certs_cache_; 173 QuicCompressedCertsCache* compressed_certs_cache_;
174 174
175 // Server's certificate chain and signature of the server config, as provided 175 // Server's certificate chain and signature of the server config, as provided
176 // by ProofSource::GetProof. 176 // by ProofSource::GetProof.
177 QuicCryptoProof crypto_proof_; 177 QuicCryptoProof crypto_proof_;
178 178
179 // Hash of the last received CHLO message which can be used for generating
180 // server config update messages.
181 std::string chlo_hash_;
182
179 // Pointer to the active callback that will receive the result of 183 // Pointer to the active callback that will receive the result of
180 // the client hello validation request and forward it to 184 // the client hello validation request and forward it to
181 // FinishProcessingHandshakeMessage for processing. nullptr if no 185 // FinishProcessingHandshakeMessage for processing. nullptr if no
182 // handshake message is being validated. 186 // handshake message is being validated.
183 ValidateCallback* validate_client_hello_cb_; 187 ValidateCallback* validate_client_hello_cb_;
184 188
185 // Number of handshake messages received by this stream. 189 // Number of handshake messages received by this stream.
186 uint8_t num_handshake_messages_; 190 uint8_t num_handshake_messages_;
187 191
188 // Number of handshake messages received by this stream that contain 192 // Number of handshake messages received by this stream that contain
(...skipping 22 matching lines...) Expand all
211 // TODO(jokulik): Remove once client stateless reject support 215 // TODO(jokulik): Remove once client stateless reject support
212 // becomes the default. 216 // becomes the default.
213 bool peer_supports_stateless_rejects_; 217 bool peer_supports_stateless_rejects_;
214 218
215 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); 219 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream);
216 }; 220 };
217 221
218 } // namespace net 222 } // namespace net
219 223
220 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 224 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698