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

Unified Diff: net/quic/crypto/crypto_handshake.h

Issue 23766019: QuicCryptoClientConfig::ProcessServerHello should learn about updated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/crypto/crypto_handshake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_handshake.h
===================================================================
--- net/quic/crypto/crypto_handshake.h (revision 221812)
+++ net/quic/crypto/crypto_handshake.h (working copy)
@@ -352,18 +352,20 @@
// state about a future handshake (i.e. an nonce value from the server), then
// it will be saved in |out_params|. |now| is used to judge whether the
// server config in the rejection message has expired.
- QuicErrorCode ProcessRejection(CachedState* cached,
- const CryptoHandshakeMessage& rej,
+ QuicErrorCode ProcessRejection(const CryptoHandshakeMessage& rej,
QuicWallTime now,
+ CachedState* cached,
QuicCryptoNegotiatedParameters* out_params,
std::string* error_details);
- // ProcessServerHello processes the message in |server_hello|, writes the
- // negotiated parameters to |out_params| and returns QUIC_NO_ERROR. If
- // |server_hello| is unacceptable then it puts an error message in
- // |error_details| and returns an error code.
+ // ProcessServerHello processes the message in |server_hello|, updates the
+ // cached information about that server, writes the negotiated parameters to
+ // |out_params| and returns QUIC_NO_ERROR. If |server_hello| is unacceptable
+ // then it puts an error message in |error_details| and returns an error
+ // code.
QuicErrorCode ProcessServerHello(const CryptoHandshakeMessage& server_hello,
QuicGuid guid,
+ CachedState* cached,
QuicCryptoNegotiatedParameters* out_params,
std::string* error_details);
« no previous file with comments | « no previous file | net/quic/crypto/crypto_handshake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698