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

Side by Side Diff: net/quic/test_tools/quic_sent_packet_manager_peer.h

Issue 490263003: When talking >=QUIC_VERSION_22, regularly send updated bandwidth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
7 7
8 #include "net/quic/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
9 #include "net/quic/quic_sent_packet_manager.h" 9 #include "net/quic/quic_sent_packet_manager.h"
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 static size_t GetNumRetransmittablePackets( 63 static size_t GetNumRetransmittablePackets(
64 const QuicSentPacketManager* sent_packet_manager); 64 const QuicSentPacketManager* sent_packet_manager);
65 65
66 static QuicByteCount GetBytesInFlight( 66 static QuicByteCount GetBytesInFlight(
67 const QuicSentPacketManager* sent_packet_manager); 67 const QuicSentPacketManager* sent_packet_manager);
68 68
69 static QuicSentPacketManager::NetworkChangeVisitor* GetNetworkChangeVisitor( 69 static QuicSentPacketManager::NetworkChangeVisitor* GetNetworkChangeVisitor(
70 const QuicSentPacketManager* sent_packet_manager); 70 const QuicSentPacketManager* sent_packet_manager);
71 71
72 static QuicSustainedBandwidthRecorder& GetBandwidthRecorder(
73 QuicSentPacketManager* sent_packet_manager);
74
72 private: 75 private:
73 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); 76 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer);
74 }; 77 };
75 78
76 } // namespace test 79 } // namespace test
77 80
78 } // namespace net 81 } // namespace net
79 82
80 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ 83 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698