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

Unified Diff: net/quic/quic_crypto_client_stream.cc

Issue 1421853006: Landing Recent QUIC changes until: Fri Oct 30 22:23:58 2015 +0000 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 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 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_crypto_client_stream_test.cc » ('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 88843730fade33303054ff259bd422abe953e675..98668e24e4a544da1f4dba83965d02ca11b27594 100644
--- a/net/quic/quic_crypto_client_stream.cc
+++ b/net/quic/quic_crypto_client_stream.cc
@@ -17,6 +17,10 @@ using std::string;
namespace net {
+QuicCryptoClientStreamBase::QuicCryptoClientStreamBase(
+ QuicClientSessionBase* session)
+ : QuicCryptoStream(session) {}
+
QuicCryptoClientStream::ChannelIDSourceCallbackImpl::
ChannelIDSourceCallbackImpl(QuicCryptoClientStream* stream)
: stream_(stream) {}
@@ -77,7 +81,7 @@ QuicCryptoClientStream::QuicCryptoClientStream(
QuicClientSessionBase* session,
ProofVerifyContext* verify_context,
QuicCryptoClientConfig* crypto_config)
- : QuicCryptoStream(session),
+ : QuicCryptoClientStreamBase(session),
next_state_(STATE_IDLE),
num_client_hellos_(0),
crypto_config_(crypto_config),
@@ -103,7 +107,7 @@ QuicCryptoClientStream::~QuicCryptoClientStream() {
void QuicCryptoClientStream::OnHandshakeMessage(
const CryptoHandshakeMessage& message) {
- QuicCryptoStream::OnHandshakeMessage(message);
+ QuicCryptoClientStreamBase::OnHandshakeMessage(message);
if (message.tag() == kSCUP) {
if (!handshake_confirmed()) {
@@ -187,7 +191,7 @@ void QuicCryptoClientStream::DoHandshakeLoop(
DoInitialize(cached);
break;
case STATE_SEND_CHLO:
- DoSendCHLO(in, cached);
+ DoSendCHLO(cached);
return; // return waiting to hear from server.
case STATE_RECV_REJ:
DoReceiveREJ(in, cached);
@@ -237,7 +241,6 @@ void QuicCryptoClientStream::DoInitialize(
}
void QuicCryptoClientStream::DoSendCHLO(
- const CryptoHandshakeMessage* in,
QuicCryptoClientConfig::CachedState* cached) {
if (stateless_reject_received_) {
// If we've gotten to this point, we've sent at least one hello
« no previous file with comments | « net/quic/quic_crypto_client_stream.h ('k') | net/quic/quic_crypto_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698