Index: net/quic/quic_crypto_server_stream.cc |
diff --git a/net/quic/quic_crypto_server_stream.cc b/net/quic/quic_crypto_server_stream.cc |
index e912c32325b2298d0f73413b0231a9c178254987..1c110daa3e06463045450d5b7c5c9506cca04e92 100644 |
--- a/net/quic/quic_crypto_server_stream.cc |
+++ b/net/quic/quic_crypto_server_stream.cc |
@@ -189,6 +189,12 @@ void QuicCryptoServerStream::OnServerHelloAcked() { |
session()->connection()->OnHandshakeComplete(); |
} |
+void QuicCryptoServerStream::set_previous_cached_network_params( |
+ CachedNetworkParameters cached_network_params) { |
+ previous_cached_network_params_.reset( |
+ new CachedNetworkParameters(cached_network_params)); |
+} |
+ |
bool QuicCryptoServerStream::GetBase64SHA256ClientChannelID( |
string* output) const { |
if (!encryption_established_ || |
@@ -245,6 +251,11 @@ QuicErrorCode QuicCryptoServerStream::ProcessClientHello( |
void QuicCryptoServerStream::OverrideQuicConfigDefaults(QuicConfig* config) { |
} |
+CachedNetworkParameters* |
+QuicCryptoServerStream::get_previous_cached_network_params() { |
+ return previous_cached_network_params_.get(); |
+} |
+ |
QuicCryptoServerStream::ValidateCallback::ValidateCallback( |
QuicCryptoServerStream* parent) : parent_(parent) { |
} |