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

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

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
Index: net/quic/test_tools/quic_sent_packet_manager_peer.h
diff --git a/net/quic/test_tools/quic_sent_packet_manager_peer.h b/net/quic/test_tools/quic_sent_packet_manager_peer.h
deleted file mode 100644
index 6ac34ffcdb9c344157068ab825c952c2eb3c552e..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/quic_sent_packet_manager_peer.h
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
-#define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
-
-#include "net/quic/quic_protocol.h"
-#include "net/quic/quic_sent_packet_manager.h"
-
-namespace net {
-
-class SendAlgorithmInterface;
-
-namespace test {
-
-class QuicSentPacketManagerPeer {
- public:
- static size_t GetMaxTailLossProbes(
- QuicSentPacketManager* sent_packet_manager);
-
- static void SetMaxTailLossProbes(
- QuicSentPacketManager* sent_packet_manager, size_t max_tail_loss_probes);
-
- static bool GetUseNewRto(QuicSentPacketManager* sent_packet_manager);
-
- static QuicByteCount GetReceiveWindow(
- QuicSentPacketManager* sent_packet_manager);
-
- static void SetIsServer(QuicSentPacketManager* sent_packet_manager,
- bool is_server);
-
- static const SendAlgorithmInterface* GetSendAlgorithm(
- const QuicSentPacketManager& sent_packet_manager);
-
- static void SetSendAlgorithm(QuicSentPacketManager* sent_packet_manager,
- SendAlgorithmInterface* send_algorithm);
-
- static const LossDetectionInterface* GetLossAlgorithm(
- QuicSentPacketManager* sent_packet_manager);
-
- static void SetLossAlgorithm(QuicSentPacketManager* sent_packet_manager,
- LossDetectionInterface* loss_detector);
-
- static RttStats* GetRttStats(QuicSentPacketManager* sent_packet_manager);
-
- static QuicPacketCount GetNackCount(
- const QuicSentPacketManager* sent_packet_manager,
- QuicPacketSequenceNumber sequence_number);
-
- static size_t GetPendingRetransmissionCount(
- const QuicSentPacketManager* sent_packet_manager);
-
- static bool HasPendingPackets(
- const QuicSentPacketManager* sent_packet_manager);
-
- static QuicTime GetSentTime(const QuicSentPacketManager* sent_packet_manager,
- QuicPacketSequenceNumber sequence_number);
-
- // Returns true if |sequence_number| is a retransmission of a packet.
- static bool IsRetransmission(QuicSentPacketManager* sent_packet_manager,
- QuicPacketSequenceNumber sequence_number);
-
- static void MarkForRetransmission(QuicSentPacketManager* sent_packet_manager,
- QuicPacketSequenceNumber sequence_number,
- TransmissionType transmission_type);
-
- static QuicTime::Delta GetRetransmissionDelay(
- const QuicSentPacketManager* sent_packet_manager);
-
- static bool HasUnackedCryptoPackets(
- const QuicSentPacketManager* sent_packet_manager);
-
- static size_t GetNumRetransmittablePackets(
- const QuicSentPacketManager* sent_packet_manager);
-
- static QuicByteCount GetBytesInFlight(
- const QuicSentPacketManager* sent_packet_manager);
-
- static QuicSentPacketManager::NetworkChangeVisitor* GetNetworkChangeVisitor(
- const QuicSentPacketManager* sent_packet_manager);
-
- static QuicSustainedBandwidthRecorder& GetBandwidthRecorder(
- QuicSentPacketManager* sent_packet_manager);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer);
-};
-
-} // namespace test
-
-} // namespace net
-
-#endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
« no previous file with comments | « net/quic/test_tools/quic_received_packet_manager_peer.cc ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698