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

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

Issue 2236973002: Landing Recent QUIC changes until 4AM, Aug 7, 2016 UTC-4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: flip quic_sequencer_buffer_retire_block_in_time to true Created 4 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 (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/macros.h" 8 #include "base/macros.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "net/quic/core/quic_connection.h" 10 #include "net/quic/core/quic_connection.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 static void SetPeerAddress(QuicConnection* connection, 85 static void SetPeerAddress(QuicConnection* connection,
86 const IPEndPoint& peer_address); 86 const IPEndPoint& peer_address);
87 87
88 static bool IsSilentCloseEnabled(QuicConnection* connection); 88 static bool IsSilentCloseEnabled(QuicConnection* connection);
89 89
90 static bool IsMultipathEnabled(QuicConnection* connection); 90 static bool IsMultipathEnabled(QuicConnection* connection);
91 91
92 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer); 92 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer);
93 93
94 static void SetCurrentPacket(QuicConnection* connection,
95 base::StringPiece current_packet);
96
94 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection); 97 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection);
95 98
96 static QuicAlarmFactory* GetAlarmFactory(QuicConnection* connection); 99 static QuicAlarmFactory* GetAlarmFactory(QuicConnection* connection);
97 100
98 static QuicFramer* GetFramer(QuicConnection* connection); 101 static QuicFramer* GetFramer(QuicConnection* connection);
99 102
100 static QuicAlarm* GetAckAlarm(QuicConnection* connection); 103 static QuicAlarm* GetAckAlarm(QuicConnection* connection);
101 static QuicAlarm* GetPingAlarm(QuicConnection* connection); 104 static QuicAlarm* GetPingAlarm(QuicConnection* connection);
102 static QuicAlarm* GetResumeWritesAlarm(QuicConnection* connection); 105 static QuicAlarm* GetResumeWritesAlarm(QuicConnection* connection);
103 static QuicAlarm* GetRetransmissionAlarm(QuicConnection* connection); 106 static QuicAlarm* GetRetransmissionAlarm(QuicConnection* connection);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 140
138 private: 141 private:
139 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); 142 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer);
140 }; 143 };
141 144
142 } // namespace test 145 } // namespace test
143 146
144 } // namespace net 147 } // namespace net
145 148
146 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ 149 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_buffered_packet_store_peer.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