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

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

Issue 2463093003: Landing Recent QUIC changes until Sat Oct 29 14:59:35. (Closed)
Patch Set: add change to quiartc_session_test.cc Created 4 years, 1 month 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
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 class ProcessClientHelloCallback; 182 class ProcessClientHelloCallback;
183 friend class ProcessClientHelloCallback; 183 friend class ProcessClientHelloCallback;
184 184
185 // Portion of FinishProcessingHandshakeMessage which executes after 185 // Portion of FinishProcessingHandshakeMessage which executes after
186 // ProcessClientHello has been called. 186 // ProcessClientHello has been called.
187 void FinishProcessingHandshakeMessageAfterProcessClientHello( 187 void FinishProcessingHandshakeMessageAfterProcessClientHello(
188 const ValidateClientHelloResultCallback::Result& result, 188 const ValidateClientHelloResultCallback::Result& result,
189 QuicErrorCode error, 189 QuicErrorCode error,
190 const std::string& error_details, 190 const std::string& error_details,
191 std::unique_ptr<CryptoHandshakeMessage> reply, 191 std::unique_ptr<CryptoHandshakeMessage> reply,
192 std::unique_ptr<DiversificationNonce> diversification_nonce); 192 std::unique_ptr<DiversificationNonce> diversification_nonce,
193 std::unique_ptr<ProofSource::Details> proof_source_details);
193 194
194 // Invoked by SendServerConfigUpdateCallback::RunImpl once the proof has been 195 // Invoked by SendServerConfigUpdateCallback::RunImpl once the proof has been
195 // received. |ok| indicates whether or not the proof was successfully 196 // received. |ok| indicates whether or not the proof was successfully
196 // acquired, and |message| holds the partially-constructed message from 197 // acquired, and |message| holds the partially-constructed message from
197 // SendServerConfigUpdate. 198 // SendServerConfigUpdate.
198 void FinishSendServerConfigUpdate(bool ok, 199 void FinishSendServerConfigUpdate(bool ok,
199 const CryptoHandshakeMessage& message); 200 const CryptoHandshakeMessage& message);
200 201
201 // Returns a new ConnectionId to be used for statelessly rejected connections 202 // Returns a new ConnectionId to be used for statelessly rejected connections
202 // if |use_stateless_rejects| is true. Returns 0 otherwise. 203 // if |use_stateless_rejects| is true. Returns 0 otherwise.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // ProcessClientHello and forward it to 270 // ProcessClientHello and forward it to
270 // FinishProcessingHandshakeMessageAfterProcessClientHello. 271 // FinishProcessingHandshakeMessageAfterProcessClientHello.
271 ProcessClientHelloCallback* process_client_hello_cb_; 272 ProcessClientHelloCallback* process_client_hello_cb_;
272 273
273 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); 274 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream);
274 }; 275 };
275 276
276 } // namespace net 277 } // namespace net
277 278
278 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 279 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_client_stream_test.cc ('k') | net/quic/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698