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 // Common utilities for Quic tests | 5 // Common utilities for Quic tests |
6 | 6 |
7 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 7 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
8 #define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 8 #define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
9 | 9 |
10 #include "net/tools/quic/quic_time_wait_list_manager.h" | 10 #include "net/tools/quic/quic_time_wait_list_manager.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 connection_id, version, connection_rejected_statelessly, | 35 connection_id, version, connection_rejected_statelessly, |
36 termination_packets); | 36 termination_packets); |
37 } | 37 } |
38 | 38 |
39 MOCK_METHOD5(ProcessPacket, | 39 MOCK_METHOD5(ProcessPacket, |
40 void(const IPEndPoint& server_address, | 40 void(const IPEndPoint& server_address, |
41 const IPEndPoint& client_address, | 41 const IPEndPoint& client_address, |
42 QuicConnectionId connection_id, | 42 QuicConnectionId connection_id, |
43 QuicPacketNumber packet_number, | 43 QuicPacketNumber packet_number, |
44 const QuicEncryptedPacket& packet)); | 44 const QuicEncryptedPacket& packet)); |
| 45 |
| 46 MOCK_METHOD4(SendVersionNegotiationPacket, |
| 47 void(QuicConnectionId connection_id, |
| 48 const QuicVersionVector& supported_versions, |
| 49 const IPEndPoint& server_address, |
| 50 const IPEndPoint& client_address)); |
45 }; | 51 }; |
46 | 52 |
47 } // namespace test | 53 } // namespace test |
48 } // namespace net | 54 } // namespace net |
49 | 55 |
50 #endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_ | 56 #endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_ |
OLD | NEW |