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

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

Issue 15937012: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small bug fixes Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONNECTION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
10 #include "net/quic/quic_stats.h" 10 #include "net/quic/quic_stats.h"
(...skipping 28 matching lines...) Expand all
39 39
40 static QuicConnectionVisitorInterface* GetVisitor( 40 static QuicConnectionVisitorInterface* GetVisitor(
41 QuicConnection* connection); 41 QuicConnection* connection);
42 42
43 static QuicPacketCreator* GetPacketCreator(QuicConnection* connection); 43 static QuicPacketCreator* GetPacketCreator(QuicConnection* connection);
44 44
45 static bool GetReceivedTruncatedAck(QuicConnection* connection); 45 static bool GetReceivedTruncatedAck(QuicConnection* connection);
46 46
47 static size_t GetNumRetransmissionTimeouts(QuicConnection* connection); 47 static size_t GetNumRetransmissionTimeouts(QuicConnection* connection);
48 48
49 static QuicTime::Delta GetTimeout(QuicConnection* connection); 49 static QuicTime::Delta GetNetworkTimeout(QuicConnection* connection);
50 50
51 static bool IsSavedForRetransmission( 51 static bool IsSavedForRetransmission(
52 QuicConnection* connection, 52 QuicConnection* connection,
53 QuicPacketSequenceNumber sequence_number); 53 QuicPacketSequenceNumber sequence_number);
54 54
55 static size_t GetRetransmissionCount( 55 static size_t GetRetransmissionCount(
56 QuicConnection* connection, 56 QuicConnection* connection,
57 QuicPacketSequenceNumber sequence_number); 57 QuicPacketSequenceNumber sequence_number);
58 58
59 static QuicPacketEntropyHash GetSentEntropyHash( 59 static QuicPacketEntropyHash GetSentEntropyHash(
(...skipping 24 matching lines...) Expand all
84 static QuicFecGroup* GetFecGroup(QuicConnection* connection, int fec_group); 84 static QuicFecGroup* GetFecGroup(QuicConnection* connection, int fec_group);
85 85
86 private: 86 private:
87 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 87 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
88 }; 88 };
89 89
90 } // namespace test 90 } // namespace test
91 } // namespace net 91 } // namespace net
92 92
93 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_ 93 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698