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

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

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix 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/crypto_test_utils.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 #include "net/quic/quic_stats.h"
10 11
11 namespace net { 12 namespace net {
12 13
13 struct QuicAckFrame; 14 struct QuicAckFrame;
14 class QuicConnection; 15 class QuicConnection;
15 class QuicConnectionVisitorInterface; 16 class QuicConnectionVisitorInterface;
16 class QuicPacketCreator; 17 class QuicPacketCreator;
17 class ReceiveAlgorithmInterface; 18 class ReceiveAlgorithmInterface;
18 class SendAlgorithmInterface; 19 class SendAlgorithmInterface;
19 20
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 56
56 static bool IsValidEntropy(QuicConnection* connection, 57 static bool IsValidEntropy(QuicConnection* connection,
57 QuicPacketSequenceNumber largest_observed, 58 QuicPacketSequenceNumber largest_observed,
58 const SequenceNumberSet& missing_packets, 59 const SequenceNumberSet& missing_packets,
59 QuicPacketEntropyHash entropy_hash); 60 QuicPacketEntropyHash entropy_hash);
60 61
61 static QuicPacketEntropyHash ReceivedEntropyHash( 62 static QuicPacketEntropyHash ReceivedEntropyHash(
62 QuicConnection* connection, 63 QuicConnection* connection,
63 QuicPacketSequenceNumber sequence_number); 64 QuicPacketSequenceNumber sequence_number);
64 65
66 static bool IsServer(QuicConnection* connection);
67
68 static void SetIsServer(QuicConnection* connection, bool is_server);
69
65 private: 70 private:
66 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 71 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
67 }; 72 };
68 73
69 } // namespace test 74 } // namespace test
70 } // namespace net 75 } // namespace net
71 76
72 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_ 77 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/crypto_test_utils.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