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

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

Issue 2681793002: Landing Recent QUIC changes until 5:30 PM, Feb 3, 2017 UTC-5 (Closed)
Patch Set: sync and rebase Created 3 years, 10 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/test_tools/quic_stream_peer.cc ('k') | net/tools/quic/chlo_extractor_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_test_utils.cc
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
index eb070011e63947c17b365ee3d8f0b8cfd1e86b47..9b30937b9ee9d54309ac99c593a7dd598bfcc9c1 100644
--- a/net/quic/test_tools/quic_test_utils.cc
+++ b/net/quic/test_tools/quic_test_utils.cc
@@ -461,7 +461,7 @@ TestQuicSpdyClientSession::TestQuicSpdyClientSession(
QuicCryptoClientConfig* crypto_config)
: QuicClientSessionBase(connection, &push_promise_index_, config) {
crypto_stream_.reset(new QuicCryptoClientStream(
- server_id, this, CryptoTestUtils::ProofVerifyContextForTesting(),
+ server_id, this, crypto_test_utils::ProofVerifyContextForTesting(),
crypto_config, this));
Initialize();
}
@@ -645,7 +645,7 @@ QuicEncryptedPacket* ConstructEncryptedPacket(
EXPECT_TRUE(packet != nullptr);
char* buffer = new char[kMaxPacketSize];
size_t encrypted_length = framer.EncryptPayload(
- ENCRYPTION_NONE, path_id, packet_number, *packet, buffer, kMaxPacketSize);
+ ENCRYPTION_NONE, packet_number, *packet, buffer, kMaxPacketSize);
EXPECT_NE(0u, encrypted_length);
return new QuicEncryptedPacket(buffer, encrypted_length, true);
}
@@ -699,7 +699,7 @@ QuicEncryptedPacket* ConstructMisFramedEncryptedPacket(
char* buffer = new char[kMaxPacketSize];
size_t encrypted_length = framer.EncryptPayload(
- ENCRYPTION_NONE, path_id, packet_number, *packet, buffer, kMaxPacketSize);
+ ENCRYPTION_NONE, packet_number, *packet, buffer, kMaxPacketSize);
EXPECT_NE(0u, encrypted_length);
return new QuicEncryptedPacket(buffer, encrypted_length, true);
}
« no previous file with comments | « net/quic/test_tools/quic_stream_peer.cc ('k') | net/tools/quic/chlo_extractor_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698