OLD | NEW |
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/quic_connection.h" | 10 #include "net/quic/quic_connection.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 const IPEndPoint& peer_address); | 78 const IPEndPoint& peer_address); |
79 | 79 |
80 static bool IsSilentCloseEnabled(QuicConnection* connection); | 80 static bool IsSilentCloseEnabled(QuicConnection* connection); |
81 | 81 |
82 static bool IsMultipathEnabled(QuicConnection* connection); | 82 static bool IsMultipathEnabled(QuicConnection* connection); |
83 | 83 |
84 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer); | 84 static void SwapCrypters(QuicConnection* connection, QuicFramer* framer); |
85 | 85 |
86 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection); | 86 static QuicConnectionHelperInterface* GetHelper(QuicConnection* connection); |
87 | 87 |
| 88 static QuicAlarmFactory* GetAlarmFactory(QuicConnection* connection); |
| 89 |
88 static QuicFramer* GetFramer(QuicConnection* connection); | 90 static QuicFramer* GetFramer(QuicConnection* connection); |
89 | 91 |
90 static QuicAlarm* GetAckAlarm(QuicConnection* connection); | 92 static QuicAlarm* GetAckAlarm(QuicConnection* connection); |
91 static QuicAlarm* GetPingAlarm(QuicConnection* connection); | 93 static QuicAlarm* GetPingAlarm(QuicConnection* connection); |
92 static QuicAlarm* GetResumeWritesAlarm(QuicConnection* connection); | 94 static QuicAlarm* GetResumeWritesAlarm(QuicConnection* connection); |
93 static QuicAlarm* GetRetransmissionAlarm(QuicConnection* connection); | 95 static QuicAlarm* GetRetransmissionAlarm(QuicConnection* connection); |
94 static QuicAlarm* GetSendAlarm(QuicConnection* connection); | 96 static QuicAlarm* GetSendAlarm(QuicConnection* connection); |
95 static QuicAlarm* GetTimeoutAlarm(QuicConnection* connection); | 97 static QuicAlarm* GetTimeoutAlarm(QuicConnection* connection); |
96 static QuicAlarm* GetMtuDiscoveryAlarm(QuicConnection* connection); | 98 static QuicAlarm* GetMtuDiscoveryAlarm(QuicConnection* connection); |
97 | 99 |
(...skipping 24 matching lines...) Expand all Loading... |
122 | 124 |
123 private: | 125 private: |
124 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); | 126 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); |
125 }; | 127 }; |
126 | 128 |
127 } // namespace test | 129 } // namespace test |
128 | 130 |
129 } // namespace net | 131 } // namespace net |
130 | 132 |
131 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 133 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
OLD | NEW |