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

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

Issue 76723002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation error Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/quic_connection_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "net/quic/quic_connection_stats.h" 10 #include "net/quic/quic_connection_stats.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 static QuicPacketCreator* GetPacketCreator(QuicConnection* connection); 49 static QuicPacketCreator* GetPacketCreator(QuicConnection* connection);
50 50
51 static bool GetReceivedTruncatedAck(QuicConnection* connection); 51 static bool GetReceivedTruncatedAck(QuicConnection* connection);
52 52
53 static QuicTime::Delta GetNetworkTimeout(QuicConnection* connection); 53 static QuicTime::Delta GetNetworkTimeout(QuicConnection* connection);
54 54
55 static bool IsSavedForRetransmission( 55 static bool IsSavedForRetransmission(
56 QuicConnection* connection, 56 QuicConnection* connection,
57 QuicPacketSequenceNumber sequence_number); 57 QuicPacketSequenceNumber sequence_number);
58 58
59 static size_t GetRetransmissionCount( 59 static bool IsRetransmission(QuicConnection* connection,
60 QuicConnection* connection, 60 QuicPacketSequenceNumber sequence_number);
61 QuicPacketSequenceNumber sequence_number);
62 61
63 static QuicPacketEntropyHash GetSentEntropyHash( 62 static QuicPacketEntropyHash GetSentEntropyHash(
64 QuicConnection* connection, 63 QuicConnection* connection,
65 QuicPacketSequenceNumber sequence_number); 64 QuicPacketSequenceNumber sequence_number);
66 65
67 static bool IsValidEntropy(QuicConnection* connection, 66 static bool IsValidEntropy(QuicConnection* connection,
68 QuicPacketSequenceNumber largest_observed, 67 QuicPacketSequenceNumber largest_observed,
69 const SequenceNumberSet& missing_packets, 68 const SequenceNumberSet& missing_packets,
70 QuicPacketEntropyHash entropy_hash); 69 QuicPacketEntropyHash entropy_hash);
71 70
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 static void SetWriter(QuicConnection* connection, QuicTestWriter* writer); 105 static void SetWriter(QuicConnection* connection, QuicTestWriter* writer);
107 106
108 private: 107 private:
109 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 108 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
110 }; 109 };
111 110
112 } // namespace test 111 } // namespace test
113 } // namespace net 112 } // namespace net
114 113
115 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_ 114 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/test_tools/quic_connection_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698