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

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

Issue 393953011: Allow QUIC clients to accept STK/SCFG updates on an existing connection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/crypto/quic_crypto_client_config.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/channel_id.h" 10 #include "net/quic/crypto/channel_id.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 STATE_INITIALIZE, 97 STATE_INITIALIZE,
98 STATE_SEND_CHLO, 98 STATE_SEND_CHLO,
99 STATE_RECV_REJ, 99 STATE_RECV_REJ,
100 STATE_VERIFY_PROOF, 100 STATE_VERIFY_PROOF,
101 STATE_VERIFY_PROOF_COMPLETE, 101 STATE_VERIFY_PROOF_COMPLETE,
102 STATE_GET_CHANNEL_ID, 102 STATE_GET_CHANNEL_ID,
103 STATE_GET_CHANNEL_ID_COMPLETE, 103 STATE_GET_CHANNEL_ID_COMPLETE,
104 STATE_RECV_SHLO, 104 STATE_RECV_SHLO,
105 }; 105 };
106 106
107 // Handles new server config and optional source-address token provided by the
108 // server during a connection.
109 void HandleServerConfigUpdateMessage(const CryptoHandshakeMessage* in);
wtc 2014/07/16 17:03:06 I seem to remember I also suggested changing this
ramant (doing other things) 2014/07/16 19:43:21 Done.
110
107 // DoHandshakeLoop performs a step of the handshake state machine. Note that 111 // DoHandshakeLoop performs a step of the handshake state machine. Note that
108 // |in| may be NULL if the call did not result from a received message. 112 // |in| may be NULL if the call did not result from a received message.
109 void DoHandshakeLoop(const CryptoHandshakeMessage* in); 113 void DoHandshakeLoop(const CryptoHandshakeMessage* in);
110 114
111 // Called to set the proof of |cached| valid. Also invokes the session's 115 // Called to set the proof of |cached| valid. Also invokes the session's
112 // OnProofValid() method. 116 // OnProofValid() method.
113 void SetCachedProofValid(QuicCryptoClientConfig::CachedState* cached); 117 void SetCachedProofValid(QuicCryptoClientConfig::CachedState* cached);
114 118
115 // Returns true if the server crypto config in |cached| requires a ChannelID 119 // Returns true if the server crypto config in |cached| requires a ChannelID
116 // and the client config settings also allow sending a ChannelID. 120 // and the client config settings also allow sending a ChannelID.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 bool verify_ok_; 161 bool verify_ok_;
158 string verify_error_details_; 162 string verify_error_details_;
159 scoped_ptr<ProofVerifyDetails> verify_details_; 163 scoped_ptr<ProofVerifyDetails> verify_details_;
160 164
161 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); 165 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream);
162 }; 166 };
163 167
164 } // namespace net 168 } // namespace net
165 169
166 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_ 170 #endif // NET_QUIC_QUIC_CRYPTO_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config.cc ('k') | net/quic/quic_crypto_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698