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

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

Issue 2515613002: deprecate FLAGS_quic_disable_pre_34 (Closed)
Patch Set: Created 4 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/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_received_packet_manager_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_connection_peer.cc
diff --git a/net/quic/test_tools/quic_connection_peer.cc b/net/quic/test_tools/quic_connection_peer.cc
index 24118ddcf182babc44d9d19440735f314c747d6e..6a2bd45ee7c4598fcd6e08ace3ac2c94dde0dcd1 100644
--- a/net/quic/test_tools/quic_connection_peer.cc
+++ b/net/quic/test_tools/quic_connection_peer.cc
@@ -90,38 +90,6 @@ QuicTime::Delta QuicConnectionPeer::GetNetworkTimeout(
}
// static
-QuicSentEntropyManager* QuicConnectionPeer::GetSentEntropyManager(
- QuicConnection* connection) {
- return &connection->sent_entropy_manager_;
-}
-
-// static
-// TODO(ianswett): Create a GetSentEntropyHash which accepts an AckFrame.
-QuicPacketEntropyHash QuicConnectionPeer::GetSentEntropyHash(
- QuicConnection* connection,
- QuicPacketNumber packet_number) {
- QuicSentEntropyManager::CumulativeEntropy last_entropy_copy =
- connection->sent_entropy_manager_.last_cumulative_entropy_;
- connection->sent_entropy_manager_.UpdateCumulativeEntropy(packet_number,
- &last_entropy_copy);
- return last_entropy_copy.entropy;
-}
-
-// static
-QuicPacketEntropyHash QuicConnectionPeer::PacketEntropy(
- QuicConnection* connection,
- QuicPacketNumber packet_number) {
- return connection->sent_entropy_manager_.GetPacketEntropy(packet_number);
-}
-
-// static
-QuicPacketEntropyHash QuicConnectionPeer::ReceivedEntropyHash(
- QuicConnection* connection,
- QuicPacketNumber packet_number) {
- return connection->received_packet_manager_.EntropyHash(packet_number);
-}
-
-// static
void QuicConnectionPeer::SetPerspective(QuicConnection* connection,
Perspective perspective) {
connection->perspective_ = perspective;
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_received_packet_manager_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698