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

Unified Diff: net/quic/test_tools/quic_packet_creator_peer.h

Issue 286153003: Adds dynamic FEC on/off switch in packet creator. Tightens use of (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Created 6 years, 7 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/quic_packet_generator_test.cc ('k') | net/quic/test_tools/quic_packet_creator_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_packet_creator_peer.h
diff --git a/net/quic/test_tools/quic_packet_creator_peer.h b/net/quic/test_tools/quic_packet_creator_peer.h
index 12ae676664b32f1c36e4f1bfd8c223339e49b378..95002a8046df8a4aa03ab712c0bba9c3f5322e88 100644
--- a/net/quic/test_tools/quic_packet_creator_peer.h
+++ b/net/quic/test_tools/quic_packet_creator_peer.h
@@ -26,6 +26,9 @@ class QuicPacketCreatorPeer {
static void SetIsServer(QuicPacketCreator* creator, bool is_server);
+ static bool SwitchFecProtectionOn(QuicPacketCreator* creator,
+ size_t max_packets_per_fec_group);
+
private:
DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer);
};
« no previous file with comments | « net/quic/quic_packet_generator_test.cc ('k') | net/quic/test_tools/quic_packet_creator_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698