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

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

Issue 14718011: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_crypto_client_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_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/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // num_client_hellos_ contains the number of client hello messages that this 63 // num_client_hellos_ contains the number of client hello messages that this
64 // connection has sent. 64 // connection has sent.
65 int num_client_hellos_; 65 int num_client_hellos_;
66 66
67 const QuicConfig& config_; 67 const QuicConfig& config_;
68 QuicCryptoClientConfig* const crypto_config_; 68 QuicCryptoClientConfig* const crypto_config_;
69 69
70 QuicNegotiatedParameters negotiated_params_; 70 QuicNegotiatedParameters negotiated_params_;
71 QuicCryptoNegotiatedParameters crypto_negotiated_params_; 71 QuicCryptoNegotiatedParameters crypto_negotiated_params_;
72 72
73 // decrypter_pushed_ is true if we have installed a QuicDecrypter in the
74 // connection. We need to track this because, in the event of a handshake
75 // failure, we have to remove any previous decrypters as they will have the
76 // wrong keys.
77 bool decrypter_pushed_;
78
79 // Client's connection nonce (4-byte timestamp + 28 random bytes) 73 // Client's connection nonce (4-byte timestamp + 28 random bytes)
80 std::string nonce_; 74 std::string nonce_;
81 // Server's hostname 75 // Server's hostname
82 std::string server_hostname_; 76 std::string server_hostname_;
83 77
84 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); 78 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream);
85 }; 79 };
86 80
87 } // namespace net 81 } // namespace net
88 82
89 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ 83 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_crypto_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698