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

Side by Side Diff: net/tools/quic/test_tools/quic_test_utils.h

Issue 1037643002: Land Recent QUIC Changes until 03/22/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deleted duplicated using statements in net/tools/quic/test_tools/quic_test_utils.cc Created 5 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
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 // Common utilities for Quic tests 5 // Common utilities for Quic tests
6 6
7 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 7 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
8 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 8 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 QuicConnectionHelperInterface* helper); 155 QuicConnectionHelperInterface* helper);
156 156
157 ~MockTimeWaitListManager() override; 157 ~MockTimeWaitListManager() override;
158 158
159 MOCK_METHOD3(AddConnectionIdToTimeWait, 159 MOCK_METHOD3(AddConnectionIdToTimeWait,
160 void(QuicConnectionId connection_id, 160 void(QuicConnectionId connection_id,
161 QuicVersion version, 161 QuicVersion version,
162 QuicEncryptedPacket* close_packet)); 162 QuicEncryptedPacket* close_packet));
163 163
164 void QuicTimeWaitListManager_AddConnectionIdToTimeWait( 164 void QuicTimeWaitListManager_AddConnectionIdToTimeWait(
165 QuicConnectionId connection_id, 165 QuicConnectionId connection_id,
166 QuicVersion version, 166 QuicVersion version,
167 QuicEncryptedPacket* close_packet) { 167 QuicEncryptedPacket* close_packet) {
168 QuicTimeWaitListManager::AddConnectionIdToTimeWait(connection_id, 168 QuicTimeWaitListManager::AddConnectionIdToTimeWait(connection_id, version,
169 version,
170 close_packet); 169 close_packet);
171 } 170 }
172 171
173 MOCK_METHOD5(ProcessPacket, 172 MOCK_METHOD5(ProcessPacket,
174 void(const IPEndPoint& server_address, 173 void(const IPEndPoint& server_address,
175 const IPEndPoint& client_address, 174 const IPEndPoint& client_address,
176 QuicConnectionId connection_id, 175 QuicConnectionId connection_id,
177 QuicPacketSequenceNumber sequence_number, 176 QuicPacketSequenceNumber sequence_number,
178 const QuicEncryptedPacket& packet)); 177 const QuicEncryptedPacket& packet));
179 }; 178 };
180 179
181 } // namespace test 180 } // namespace test
182 } // namespace tools 181 } // namespace tools
183 } // namespace net 182 } // namespace net
184 183
185 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 184 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server_session_test.cc ('k') | net/tools/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698