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

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

Issue 12334063: Land recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more EXPECT_FALSE Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/test_tools/mock_random.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/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 static size_t GetNumRetransmissionTimeouts(QuicConnection* connection); 42 static size_t GetNumRetransmissionTimeouts(QuicConnection* connection);
43 43
44 static bool IsSavedForRetransmission( 44 static bool IsSavedForRetransmission(
45 QuicConnection* connection, 45 QuicConnection* connection,
46 QuicPacketSequenceNumber sequence_number); 46 QuicPacketSequenceNumber sequence_number);
47 47
48 static size_t GetRetransmissionCount( 48 static size_t GetRetransmissionCount(
49 QuicConnection* connection, 49 QuicConnection* connection,
50 QuicPacketSequenceNumber sequence_number); 50 QuicPacketSequenceNumber sequence_number);
51 51
52 static QuicPacketEntropyHash GetSentEntropyHash(
53 QuicConnection* connection,
54 QuicPacketSequenceNumber sequence_number);
55
56 static bool IsValidEntropy(QuicConnection* connection,
57 QuicPacketSequenceNumber largest_observed,
58 const SequenceNumberSet& missing_packets,
59 QuicPacketEntropyHash entropy_hash);
60
61 static QuicPacketEntropyHash ReceivedEntropyHash(
62 QuicConnection* connection,
63 QuicPacketSequenceNumber sequence_number);
64
52 private: 65 private:
53 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 66 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
54 }; 67 };
55 68
56 } // namespace test 69 } // namespace test
57 } // namespace net 70 } // namespace net
58 71
59 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_ 72 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_random.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