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

Unified Diff: net/tools/quic/quic_client_session_test.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/tools/quic/quic_client_session.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_session_test.cc
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc
index 541f290cc429ee71d52b63eeda0ffb6f21214185..7ae923bf11b8521392eb5b2032ff273946e258b6 100644
--- a/net/tools/quic/quic_client_session_test.cc
+++ b/net/tools/quic/quic_client_session_test.cc
@@ -20,7 +20,7 @@ using net::test::ConstructMisFramedEncryptedPacket;
using net::test::CryptoTestUtils;
using net::test::DefaultQuicConfig;
using net::test::MockConnection;
-using net::test::MockHelper;
+using net::test::MockConnectionHelper;
using net::test::PacketSavingConnection;
using net::test::QuicSpdySessionPeer;
using net::test::SupportedVersions;
@@ -60,12 +60,13 @@ class ToolsQuicClientSessionTest
void CompleteCryptoHandshake() {
session_->CryptoConnect();
- CryptoTestUtils::HandshakeWithFakeServer(&helper_, connection_,
- session_->GetCryptoStream());
+ QuicCryptoClientStream* stream =
+ static_cast<QuicCryptoClientStream*>(session_->GetCryptoStream());
+ CryptoTestUtils::HandshakeWithFakeServer(&helper_, connection_, stream);
}
QuicCryptoClientConfig crypto_config_;
- MockHelper helper_;
+ MockConnectionHelper helper_;
PacketSavingConnection* connection_;
scoped_ptr<QuicClientSession> session_;
};
« no previous file with comments | « net/tools/quic/quic_client_session.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698