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

Unified Diff: net/quic/test_tools/crypto_test_utils.cc

Issue 1190823003: Remove dependency on headers stream from QuicSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0616
Patch Set: deleted an include Created 5 years, 6 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/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/quic_session_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/crypto_test_utils.cc
diff --git a/net/quic/test_tools/crypto_test_utils.cc b/net/quic/test_tools/crypto_test_utils.cc
index ba3bce79420037ccae38e4ada96843c370f46475..811da803f1a59c3e60021afc2c6155436fa2a242 100644
--- a/net/quic/test_tools/crypto_test_utils.cc
+++ b/net/quic/test_tools/crypto_test_utils.cc
@@ -189,7 +189,7 @@ int CryptoTestUtils::HandshakeWithFakeServer(
server_conn->random_generator(), &config,
&crypto_config);
- TestServerSession server_session(server_conn, config, &crypto_config);
+ TestQuicSpdyServerSession server_session(server_conn, config, &crypto_config);
// The client's handshake must have been started already.
CHECK_NE(0u, client_conn->encrypted_packets_.size());
@@ -232,8 +232,8 @@ int CryptoTestUtils::HandshakeWithFakeClient(
// a working ProofSourceForTesting().
crypto_config.SetProofVerifier(FakeProofVerifierForTesting());
}
- TestClientSession client_session(client_conn, DefaultQuicConfig(), server_id,
- &crypto_config);
+ TestQuicSpdyClientSession client_session(client_conn, DefaultQuicConfig(),
+ server_id, &crypto_config);
client_session.GetCryptoStream()->CryptoConnect();
CHECK_EQ(1u, client_conn->encrypted_packets_.size());
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/quic_session_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698