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

Unified Diff: net/quic/quic_packet_creator_test.cc

Issue 114923007: Remove deprecated flag FLAGS_pad_quic_handshake_packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_packet_creator.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator_test.cc
diff --git a/net/quic/quic_packet_creator_test.cc b/net/quic/quic_packet_creator_test.cc
index 7b3881997a0d51a0f96b5d3250b8d051cfa7703b..33f2e5c3010aa94bcf0307d634f571f325a7be9f 100644
--- a/net/quic/quic_packet_creator_test.cc
+++ b/net/quic/quic_packet_creator_test.cc
@@ -374,8 +374,6 @@ TEST_F(QuicPacketCreatorTest, StreamFrameConsumption) {
}
TEST_F(QuicPacketCreatorTest, CryptoStreamFramePacketPadding) {
- ValueRestore<bool> old_flag(&FLAGS_pad_quic_handshake_packets, true);
-
// Compute the total overhead for a single frame in packet.
const size_t overhead = GetPacketHeaderOverhead() + GetEncryptionOverhead()
+ GetStreamFrameOverhead();
@@ -408,10 +406,7 @@ TEST_F(QuicPacketCreatorTest, CryptoStreamFramePacketPadding) {
}
}
-
TEST_F(QuicPacketCreatorTest, NonCryptoStreamFramePacketNonPadding) {
- ValueRestore<bool> old_flag(&FLAGS_pad_quic_handshake_packets, true);
-
// Compute the total overhead for a single frame in packet.
const size_t overhead = GetPacketHeaderOverhead() + GetEncryptionOverhead()
+ GetStreamFrameOverhead();
« no previous file with comments | « net/quic/quic_packet_creator.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698