Index: net/quic/crypto/quic_crypto_client_config.h |
diff --git a/net/quic/crypto/quic_crypto_client_config.h b/net/quic/crypto/quic_crypto_client_config.h |
index 8aa4527bd735f9f5dc6e7383939677d5462a32cd..9c722db5e5f9401d5f4981cb95d4b071a9affcd0 100644 |
--- a/net/quic/crypto/quic_crypto_client_config.h |
+++ b/net/quic/crypto/quic_crypto_client_config.h |
@@ -255,6 +255,16 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig { |
private: |
typedef std::map<QuicServerId, CachedState*> CachedStateMap; |
+ // CacheNewServerConfig checks for SCFG, STK, and PROF tags in |message|, |
+ // verifies them, and stores them in the cached state if they validate. |
+ // This is used on receipt of a REJ from a server, or when a server sends |
+ // updated server config during a connection. |
+ QuicErrorCode CacheNewServerConfig(const CryptoHandshakeMessage& message, |
+ QuicWallTime now, |
+ CachedState* cached, |
+ QuicCryptoNegotiatedParameters* out_params, |
+ std::string* error_details); |
+ |
// If the suffix of the hostname in |server_id| is in |canoncial_suffixes_|, |
// then populate |cached| with the canonical cached state from |
// |canonical_server_map_| for that suffix. |