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

Unified Diff: net/quic/quic_crypto_client_stream.cc

Issue 394053003: QUIC - minor cleanup changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with TOT 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_crypto_client_stream.h ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_client_stream.cc
diff --git a/net/quic/quic_crypto_client_stream.cc b/net/quic/quic_crypto_client_stream.cc
index 64cb9502bc59af26e57b50f3d300562e4de547a9..e55f1fefaf70d699ae6ee74cadf0c0af1256007a 100644
--- a/net/quic/quic_crypto_client_stream.cc
+++ b/net/quic/quic_crypto_client_stream.cc
@@ -107,7 +107,7 @@ void QuicCryptoClientStream::OnHandshakeMessage(
// |message| is an update from the server, so we treat it differently from a
// handshake message.
- HandleServerConfigUpdateMessage(&message);
+ HandleServerConfigUpdateMessage(message);
return;
}
@@ -135,13 +135,13 @@ bool QuicCryptoClientStream::WasChannelIDSent() const {
}
void QuicCryptoClientStream::HandleServerConfigUpdateMessage(
- const CryptoHandshakeMessage* in) {
- DCHECK(in->tag() == kSCUP);
+ const CryptoHandshakeMessage& server_config_update) {
+ DCHECK(server_config_update.tag() == kSCUP);
string error_details;
QuicCryptoClientConfig::CachedState* cached =
crypto_config_->LookupOrCreate(server_id_);
QuicErrorCode error = crypto_config_->ProcessServerConfigUpdate(
- *in,
+ server_config_update,
session()->connection()->clock()->WallNow(),
cached,
&crypto_negotiated_params_,
« no previous file with comments | « net/quic/quic_crypto_client_stream.h ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698